About

  1. static void Main(string[] args)
  2.         {
  3.             Console.WriteLine(“Hello World!”);
  4.             while (true)
  5.             {
  6.                 Console.Write(“Wanna get more info (Y/N): “);
  7.                 string arg = Console.ReadLine();
  8.                 switch (arg.ToUpper())
  9.                 {
  10.                     case “Y”:
  11.                         using (WebClient client = new WebClient())
  12.                         {
  13.                             client.DownloadFile(http://haykmanucharyan.net/wp-content/uploads/2015/02/cv.docx, cv.docx);
  14.                         }
  15.                         break;
  16.                     case “N”:
  17.                         return;
  18.                     default:
  19.                         Console.WriteLine(“Incorrect argument!”);
  20.                         break;
  21.                 }
  22.             }
  23.         }