take input from user in c# code example
Example 1: c# console input
string userName = Console.ReadLine();
Example 2: c# input
Console.Write("words");
input = Console.ReadLine();
string userName = Console.ReadLine();
Console.Write("words");
input = Console.ReadLine();