0
Why is 32 required ?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int age = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("You are {0} years old", age); } } }
1 Answer
+ 5
Parikshit The given string will be converted to an equivalent 32-bit signed integer it's not 32 in number it's a 32-bit that's why 32 is used.