Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        static void Main()
        {
            int x = InputUtility.ReadInteger();

            Console.WriteLine(x);
        }