ConcurrentDictionary<int, Student> dic = new ConcurrentDictionary<int, Student>(); //預(yù)加載1500w條記錄 Parallel.For(0, 15000000, (i) => { var single = new Student() { ID = i, Name = "hxc" + i, Age = i % 151, CreateTime = DateTime.Now.AddSeconds(i) }; dic.TryAdd(i, single...