static void Main(string[] args)
{
using (FileStream red = new FileStream(@"C:Documents and SettingsAdministrator桌面1.txt",FileMode.OpenOrCreate,FileAccess.Read))
{
byte[] buffer = new byte[1024 * 1024 * 5];
int r = red.Read(buffer,0,buffer.Length);
string s = Encoding.GetEncoding("gb2312").GetString(buffer, 0, r);
Console.Write(s);
red.Close();
red.Dispose();
}
Console.ReadKey();
}