int.parse vs convert.toint32
What is the difference between int.pa rse and convert.toint32
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sukesh MarlaPosted Aug 14, 2012, 5:32 AM
int.Parse (string source) method converts the source string to its signed integer equivalent.
When source is a null reference, it will throw ArgumentNullException
Convert.ToInt(string source) method converts the source string to its signed integer equivalent. When source is a null reference, it will return 0 rather than throw ArgumentNullException
Your Response is important to use. Please Check This is Currect Answer, if it helped