上一页 1 ··· 24 25 26 27 28
摘要: foreach (var item in ReadLines("E:\\bigFile.txt")) { Console.Write(item); } /// <summary> /// 异步读取每行内容 /// </summary> /// <param name="fileName">指定文件的 阅读全文
posted @ 2019-11-26 20:44 wesson2019 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 节省内存消耗。 /// <summary> /// 字节流,包装流以实现高效的异步字节访问 /// </summary> public sealed class ByteStream : IDisposable { private readonly Stream _stream; private r 阅读全文
posted @ 2019-11-26 20:25 wesson2019 阅读(213) 评论(0) 推荐(0) 编辑
摘要: IncompletionOrder 阅读全文
posted @ 2019-11-25 13:44 wesson2019 阅读(310) 评论(0) 推荐(0) 编辑
摘要: C# 多线程高并发的情况下,怎么让数据先到先执行? using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; ConcurrentQueue<string> _queue = 阅读全文
posted @ 2019-11-20 10:13 wesson2019 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 一级标题 二级标题 三级标题 四级标题 五级标题 六级标题 总共六级标题 无序列表 1 2 3 有序列表 11 22 33 这里是引用 主要符号和文本之间要有空格 插入链接 http://baidu.com 百度 插入图片 这是斜体 这是粗体 斜粗 中划线或删除线 关键词 [^1] 小阔爱在这里吖 阅读全文
posted @ 2019-11-19 17:41 wesson2019 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28