File Directory Stream C# Tutorial

using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.IO;
class MainClass
{
    static void Main(string[] args)
    {
        StreamReader reader = new StreamReader(WebRequest.Create("http://www.rntsoft.com").GetResponse().GetResponseStream());
        string line;
        while ((line = reader.ReadLine()) != null)
        {
            Console.WriteLine(line);
        }
    }
}
Java examples (example source code) Organized by topic
...