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