Overloading, no optional or defaulting.

E.g.

This:

void foo() {foo("defaulted", 10);}
void foo(string s) {foo(s, 10);}
void foo(string, int i) {}

Thanks,

Shawn Wildermuth
[EMAIL PROTECTED]

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of David Ferguson
> Sent: Saturday, May 04, 2002 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Does C# support default/optional method parameter
>
>
> If not what is the accepted idiom for handling this?
>
> Thanks...David
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to