Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient?
Posted: Wed Jul 13, 2022 7:56 pm
i) Int32.Parse() is only used for strings and throws argument exception for null string
ii) Convert.Int32() used for data types and returns directly '0' for null string
a) ii
b) Both i, ii
c) i
d) None of the mentioned
ii) Convert.Int32() used for data types and returns directly '0' for null string
a) ii
b) Both i, ii
c) i
d) None of the mentioned