using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
string pat...
分类:
移动开发 时间:
2014-08-06 11:52:51
阅读次数:
191
File类的常用静态方法:void AppendAllText(string path, string contents),将文本contents附加到文件path中bool Exists(string path)判断文件path是否存在string ReadAllText(string path)...
分类:
其他好文 时间:
2014-07-14 20:19:03
阅读次数:
279
FileStream对象表示在磁盘或网络路径上指向文件的流使用FileStream类对文件系统上的文件进行读取、写入、打开和关闭操作FileStream对输入输出进行缓冲,从而提高性能为什么不用File.ReadAllText()? 好处之一就是:对于大文件来说,FileStream可以对文件采取分...
分类:
其他好文 时间:
2014-06-21 07:41:38
阅读次数:
128