/// <exception cref="System.IO.IOException"></exception> public static void Main3(string[] args) { System.IO.FileStream raf = new System.IO.FileStream("1141067269187.transaction", "r"); long length = raf.Length(); System.Console.Out.WriteLine("File length = " + length); for (int i = 0; i < length; i++) { System.Console.Out.WriteLine(i + ":\t" + raf.Read()); } raf.Close(); }
/// <exception cref="System.IO.IOException"></exception> public static void Main3(string[] args) { System.IO.FileStream raf = new System.IO.FileStream("1141067269187.transaction", "r"); long length = raf.Length(); System.Console.Out.WriteLine("File length = " + length); for (int i = 0; i < length; i++) { System.Console.Out.WriteLine(i + ":\t" + raf.Read()); } raf.Close(); }