摘要:
/*异步写入FileStream中包含BeginWrite、EndWrite 方法可以启动I/O线程进行异步写入。public override IAsyncResult BeginWrite ( byte[] array, int offset, int numBytes, AsyncCall... 阅读全文
posted @ 2015-04-06 15:29
深南大道
阅读(253)
评论(0)
推荐(0)
摘要:
//以下这个例子,就是通过Thread显示当前线程信息static void Main(string[] args){ Thread thread = Thread.CurrentThread; thread.Name = "Main Thread"; string threadMessage ... 阅读全文
posted @ 2015-04-06 14:42
深南大道
阅读(155)
评论(0)
推荐(0)
摘要:
static void DeferredQuery() { var names = new List { "Nino", "Alberto", "Juan", "Mike", "Phil" }; var namesWithJ = from n in names ... 阅读全文
posted @ 2015-04-06 11:31
深南大道
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号