摘要: 关于为何报这个错误,dudu解释的灰常清晰了,请参阅:http://www.cnblogs.com/dudu/archive/2006/07/31/464391.htmldudu 对只是查询Dictionary给出了办法,而我需要对Dictionary进行删除操作,我的办法是先把键拿出,在对Dictionary操作,做了两次循环。如:List<string> removeKeyList = new List<string>();foreach (KeyValuePair<string, MobileUserInfo> user in UserList) { 阅读全文
posted @ 2011-06-28 08:40 osEye 阅读(1059) 评论(3) 推荐(0) 编辑
摘要: 看了很久的ManualResetEvent,但还是没看明白官方的解释,不妨让我们来看看定义的英文注释,或许更容易理解:// Summary:// Initializes a new instance of the System.Threading.ManualResetEvent class// with a Boolean value indicating whether to set the initial state to signaled.//// Parameters:// initialState:// true to set the initial state signaled; 阅读全文
posted @ 2011-06-28 08:29 osEye 阅读(420) 评论(2) 推荐(0) 编辑