console.readline integer code example Example: how to get int from console.readline int intTemp = Convert.ToInt32(Console.ReadLine());