----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: ajjoshi Message 2 in Discussion How much control do you have when the methods are being created for you? If you create overloads, you have full control over that. And when you have overloads, why do you need Optional Parameters? Anand J Joshi -----Original Message----- From: MumbaiUserGroup [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 12:44 PM To: MumbaiUserGroup Subject: Wonder why C# does not have an option of "Optional Paramaters" ----------------------------------------------------------- New Message on MumbaiUserGroup ----------------------------------------------------------- From: Nasha Message 1 in Discussion Wonder why C# does not have an option of "Optional Paramaters" Well we all know that C# does not have an option of creating optional paramters in our methods whilst VB.NET does support. Well when we are creating methods with optional parameters in VB.NET internally the CLR is creating an overlaod of the same. The CLR is implementing that overload for you. This is advantageous to an extent as it saves your time since your job is been done by some one else ... the CLR. On the other hand C# does not do that extra work for you and expects you to explicitly code for the overload. C# developers keep working hard !!!! Thanks & Regards, Namratha (Nasha). P.S. If you like or dislike the article please give me your feedback. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED] ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
