c# console read from user input code example Example: c# console input string userName = Console.ReadLine();