how to take input and print in c# code example Example: c# console input string userName = Console.ReadLine();