摘要: 在进行异步编程的时候,如果我们使用的是在异步完成之后使用回调函数的方法,我们可能代码是这样写的。View Code 1 public class AsyncDemo 2 { 3 public void AsyncRead() 4 { 5 string path = @"D:\临时备份\PersonalLearnDemo\AsyncApp\TextFile1.txt"; 6 byte[]byteArray=new byte[100]; 7 object[] context; 8 FileStream fileStream = new FileStream(path, File 阅读全文
posted @ 2011-03-28 22:05 雁北飞 阅读(1093) 评论(0) 推荐(0) 编辑