how to receive input from command line c# code example Example: c# console input string userName = Console.ReadLine();