示例#1
0
 static void Main(string[] args)
 {
     if (args.Length != 1)
     {
         Console.WriteLine("Usage: Recipe13_1 [website to check]");
     }
     else
     {
         CheckLinks links = new CheckLinks();
         links.check(new Uri(args[0]));
     }
 }
        static void Main(string[] args)
        {

            if (args.Length != 1)
            {
                Console.WriteLine("Usage: Recipe13_1 [website to check]");
            }
            else
            {
                CheckLinks links = new CheckLinks();
                links.check(new Uri(args[0]));
            }

        }