static void Main() { int x = InputUtility.ReadInteger("Please enter x: "); int y = InputUtility.ReadInteger("Please enter y: "); Console.WriteLine("You have entered {0} and {1}", x, y); }
static void Main(string[] args) { int x = InputUtility.ReadInteger("Please enter x: "); int y = InputUtility.ReadInteger("Please enter y: "); int z = InputUtility.ReadInteger(); Console.WriteLine("You have entered {0}, {1} and {2}.", x, y, z); }
static void Main() { int x = InputUtility.ReadInteger(); Console.WriteLine(x); }