白衣染霜花
class Program
{
static void Main(string[] args)
{
var fs1 = new FileStream("f:\\temp\\file1.txt", FileMode.Open);
var fs2 = new FileStream("f:\\temp\\file2.txt", FileMode.Append);
int readResult;
while ((readResult = fs1.ReadByte()) != -1)
{
fs2.WriteByte((Byte)readResult);
}
fs2.Close();
}
}