+ 1

What is the difference between convert.Toint32 and int.parse ? Plzz explain

Just confused plzz help

11th Mar 2021, 11:59 AM
Parveen Rai
Parveen Rai - avatar
2 Answers
+ 5
Convert.toInt32() gives 0 if argument is null. int.Parse() gives error if argument is null. otherwise they do same thing
11th Mar 2021, 12:15 PM
deleted
+ 1
Okay 👌 thanks
11th Mar 2021, 12:16 PM
Parveen Rai
Parveen Rai - avatar