示例#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);
        }
示例#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);
        }
示例#3
0
文件: Program4.cs 项目: sa-46/Day5
        static void Main()
        {
            int x = InputUtility.ReadInteger();

            Console.WriteLine(x);
        }