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

            Console.WriteLine(x);
        }