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
Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!