Vidyalelo
C# Programming · Q54

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 54

Q54

Which Conversion function of 'Convert.TOInt32()' and 'Int32.Parse()' is efficient? 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
Answer
B.
Both i, ii
C.
i
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board