By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,887 Members | 1,150 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,887 IT Pros & Developers. It's quick & easy.

System.Convert.ToInt32 vs Int32.Parse

P: n/a
Can anyone offer a comparison of System.Convert.ToInt32 vs Int32.Parse

Mar 27 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
The only difference I'm aware of is to do with nulls.

Convert.ToInt32 will return a zero and int32.Parse will throw an

I've found the timings to be pretty much identical at runtime

Mar 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.