ways to get input in console application c# code example Example: c# console input string userName = Console.ReadLine();