c# console app prompt for input code example Example: c# console input string userName = Console.ReadLine();