03 2012 档案

WrapperClass
摘要:编辑器加载中... 推荐内容索引 : http://blog.zhaojie.me/2009/12/valuable-posts-index.htmlprivate class WrapperClass{ private List<Item> m_items; public WrapperClass(List<Item> items) { this.m_items = items; } public void WaitCallback(object o) { DataContext db = new DataContext(); ... 阅读全文

posted @ 2012-03-04 21:47 breakpoint 阅读(107) 评论(0) 推荐(0)

Fibonacci
摘要:1 //Copyright (C) Microsoft Corporation. All rights reserved. 2 3 using System; 4 using System.Threading; 5 6 // The Fibonacci class provides an interface for using an auxiliary 7 // thread to perform the lengthy Fibonacci(N) calculation. 8 // N is provided to the Fibonacci constructor, along wi... 阅读全文

posted @ 2012-03-03 22:16 breakpoint 阅读(156) 评论(0) 推荐(0)

SyncEvents
摘要://Copyright (C) Microsoft Corporation. All rights reserved.using System;using System.Threading;using System.Collections;using System.Collections.Generic;// The thread synchronization events are encapsulated in this // class to allow them to easily be passed to the Consumer and // Producer classes. . 阅读全文

posted @ 2012-03-03 22:14 breakpoint 阅读(205) 评论(0) 推荐(0)

导航