General information
Title:
Passing a class instead of object?
Hi
I need to pass a parameter to a method, this parameter will dictate the return type (there are 3 overloaded methods in total).
Is there a way of passing the class as a parameter or something similar, without instantiating it? Each of the 3 methods would therefore take in a different type of parameter.
Hope that makes sense.
Thanks
Kev
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