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