private static Task OldMainAsync() { var c = new HttpClient(); return c.GetAsync("http://ufcpp.net") .ContinueWith(res => res.Result.Content.ReadAsStringAsync()) .ContinueWith(content => Console.WriteLine(content.Result)); } }