Dean that isn't the case here. The VB.net assemblies has set these parms as optional (not overloaded). In C# we can pass in a Missing parm but it can't convert to String for some reason.
Travis D. Falls |Consultant, Raft.Net IT | 860.547.4070 | [EMAIL PROTECTED] -----Original Message----- From: Dean Fiala [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 6:59 PM To: [email protected] Subject: Re: [AspNetAnyQuestionIsOk] VB.net optional parameters Just call it without the optional parameters, that's why they are optional, each will get filled with the default value if nothing is supplied. VB function Public Sub AMethod(byVal i as integer, Optional Byval s as string = "") Call from C# code int i = 3; SomeObject.AMethod(i) HTH -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com Yahoo! Groups Links This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. ------------------------ Yahoo! Groups Sponsor --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
