コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Enter a Product Id: ");
            string id = Console.ReadLine();

            Console.WriteLine("The Product Id is {0}", OrderValidation.IsProductIdValid(id) ? "valid" : "invalid");
            Console.ReadKey();
        }