visual studio console.readline c# + und - code example Example: c# console input string userName = Console.ReadLine();