Hello,

If memory serves me right, Brian Crowell wrote on Friday May 3, 2002:

> (...) So
> while this would be the correct way to mark the parameter so that it would
> be optional in VB.NET, it would still not be optional in C#, since C# does
> not support optional parameters. (...)

That is rather strange.
See the example on

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaccessingdefaultargumentvalues.asp

It shows a plublic method (sub) MyMethod, created in Visual Basic.Net
with 2 optional parameters, and called in C# without the optional parameters.

Adhemar.



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to