// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using System.Net.Http; namespace E { public class Program { public static void Main(string[] args) { HttpClient hc = new HttpClient(); String google = hc.GetStringAsync("http://www.google.com//").Result; Console.WriteLine(google); } } }