Beispiel #1
0
        private static string DownloadPage( string uri )
        {
            SimpleWebClient client = new SimpleWebClient();

            Console.WriteLine( "Downloading..." );
            var page = client.DownloadString( uri );

            Console.WriteLine( "Done." );
            return page;
        }
 private void InitializePrivateFields()
 {
     _client = new SimpleWebClient();
     _concerts = new List<Concert>();
     _venues = new List<string>();
 }