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