Home
Subscribe TechModgy to learn about new technologies!

Which Conversion function of Convert.TOInt32() and Int32.Parse() is efficient?
1) Int32.Parse() is only used for strings and throws argument exception for null string
2) Convert.Int32() used for datatypes and returns directly 0 for null string

A. 2

B. Both 1,2

C. 1

D. None of the mentioned

Please do not use chat terms. Example: avoid using "grt" instead of "great".