📊 C#
Q. 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
  • (B) Both i, ii
  • (C) i
  • (D) None of the mentioned
💬 Discuss
✅ Correct Answer: (A) ii

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
391
Total Visits
📽️
4 y ago
Published
🎖️
Mr. Dubey
Publisher
📈
83%
Success Rate