File Directory Stream C# Tutorial

using System;
using System.IO;
class Dir
{
  public static void Main()
  {
    FileInfo[] files = new DirectoryInfo(Environment.CurrentDirectory).GetFiles("*.cs");
    foreach (FileInfo file in files)
    {
      Console.WriteLine("{0}\t{1}\t\t{2}",
        file.CreationTime,file.Length,file.Name);
    }    
  }
}