无
hello world! hi ,good
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace text
{
class Program
{
static void Main(string[] args)
{
string path = "myFile.dic";
FileStream fs = new FileStream(path,FileMode.Open, FileAccess.Read);
long i = fs.Length;
byte[] b = new byte[fs.Length];
fs.Read(b, 0, b.Length);
fs.Dispose();
UTF8Encoding tmp = new UTF8Encoding();
Console.WriteLine(tmp.GetString(b));
Console.ReadKey();
}
}
}
原文:https://www.cnblogs.com/mjn1/p/12890918.html