Esempio n. 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;
        }
Esempio n. 2
0
 private void InitializePrivateFields()
 {
     _client = new SimpleWebClient();
     _concerts = new List<Concert>();
     _venues = new List<string>();
 }