asking user for input c sharp c# code example Example: asking for user input integer c# int intTemp = Convert.ToInt32(Console.ReadLine());