static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: Recipe4_1 [URL to Scan]"); } else { ScanURL d = new ScanURL(); d.Scan(args[0]); } }