>Are methods considered "overloaded" if they return different types?
Not as far as I know, the parameters control whether they are overloaded.
>Maybe another way to do this is to have one method that returns a basic Object that could then be cast to the appropriate type after it is returned.
There do seem to be a few solutions to this, I have kind of stepped back from my original goal now and have got a working solution, however, my main goal was to be able to call overloaded methods and governing the return type by passing the type as a parameter.
Kev
Previous
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