1.

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
Answer» B. Both 1,2


Discussion

No Comment Found