hash tabel 与 dictionary 的区别
摘要:
1 :Hashtable 支持多个线程读,同时只有一个线程写 , dictionary 不支持 Hashtable supports multiple reader threads with a single writer thread, while Dictionary offers no thread safety. If you need thread safety with a generic dictionary, you must implement your own synchronization or (in .NET 4.0) use ConcurrentDictionary 阅读全文
posted @ 2014-02-18 10:31 齐文宣 阅读(357) 评论(1) 推荐(0)
浙公网安备 33010602011771号