C#生成TXT文件 要将数据结果保存到TXT文本,首先要创建一个TXT文本,有三种方法: string result1 = @"F:\result1.txt" 1.writer=new StreamWriter(fi ...