张德长

导航

2022年4月20日 #

ConcurrentBag线程安全,List线程不安全,示例

摘要: class Program { static void Main(string[] args) { ListTest(); ConcurrentBagTest(); } public static void ConcurrentBagTest() { ConcurrentBag<int> bag = 阅读全文

posted @ 2022-04-20 11:15 张德长 阅读(111) 评论(0) 推荐(0) 编辑