/// <summary> /// The main entry point for the program. /// </summary> /// <param name="args">Program arguments.</param> static void Main(string[] args) { if (args.Length != 2) { Console.WriteLine("Usage: Recipe4_3 [URL to Download] [Output File]"); } else { DownloadURL d = new DownloadURL(); d.Download(new Uri(args[0]), args[1]); } }
/// <summary> /// The main entry point for the program. /// </summary> /// <param name="args">Program arguments.</param> static void Main(string[] args) { if (args.Length != 2) { Console.WriteLine("Usage: Recipe4_3 [URL to Download] [Output File]"); } else { DownloadURL d = new DownloadURL(); d.Download(new Uri(args[0]), args[1]); } }