c# code to take input from user code example Example: c# console input string userName = Console.ReadLine();