----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: sachinvr Message 2 in Discussion Hi, Basically the Convert class makes it easier to convert between all the base types. The Convert.ToInt32(String, IFormatProvider) underneath calls the Int32.Parse. So the only difference is that if a null string is passed to Convert it returns 0, whereas Int32.Parse throws an ArgumentNullException. It is really a matter of choice whichever you use. Also have a look at the new .NET 2.0 method Int32.TryParse, which attempts to convert a string to an int without throwing an exception. Regards, SACHIN -------Original Message------- From: MumbaiUserGroup Date: 05/08/06 08:40:20 To: MumbaiUserGroup Subject: [***SPAM*** Score/Req: 05.00/05.00] basic query New Message on MumbaiUserGroup [***SPAM*** Score/Req: 05.00/05.00] basic query Reply Reply to Sender <FONT" width=16 align=middle border=0 size="1" face="Verdana,Arial,Helvetica,Sans Serif">Recommend Message 1 in Discussion From: TelegenicVamsiSridhara New Message on MumbaiUserGroup basic query Reply Reply to Sender Recommend Message 1 in Discussion From: TelegenicVamsiSridhara hi What is the difference bettwen Convert.ToInt32() and Parse.ToInt32() View other groups in this category. View other groups in this category. ----------------------------------------------------------- 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]
