views:

54

answers:

1

Had the idea I'd seen at least one.

+3  A: 

It's supported by the common language runtime (CLR) but not by the .NET languages that Microsoft has included in Visual Studio. The only .NET "language" that currently supports this is IL. I'm not aware of any functions in the framework which exhibit this, but even if there were there they would not be common language specification (CLS) compliant. Read Richter's excellent .NET book for more information.

EDIT: A good example is conversion operators. Where there exists an explicit or implicit conversion of a type to more than one other data type, these will be compiled into IL as methods differing only in their return types.

David M
I am aware of that. Just had the idea I'd seen one.
devoured elysium
Does it mean that by not being CLS compliant, in the case I'd make a function on IL with return type overloading, I couldn't use it in c#?
devoured elysium