Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
Title:
Conditional parameter type
I have a method in a class that one of the parameters received could be an object, or it could be just a text string. I'm checking for the TYPE in the beginning and then handling it conditionally. Is that a good way to do it or is there a better way? Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only