Network C# Tutorial

using System;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
class MainClass
{
    private static void Main() 
    {
        string remoteUri = "http://www.rntsoft.com";
        
        WebClient client = new WebClient();
        Console.WriteLine("Downloading {0}", remoteUri);
        string str = client.DownloadString(remoteUri);
        Console.WriteLine(str);
    }
}
Downloading http://www.rntsoft.com
Java examples (example source code) Organized by topic
...