input values to variable with c# code example Example: c# console input string userName = Console.ReadLine();