public void RunEventBased() { var webClient = new WebClient(); webClient.DownloadStringCompleted += (sender, args) => { Console.WriteLine(args.Result); }; webClient.DownloadStringAsync(new Uri("http://www.google.com")); }