Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a class instead of object?
Message
From
11/12/2003 11:19:36
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00858007
Message ID:
00858166
Views:
17
>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
Map
View

Click here to load this message in the networking platform