public class Class1
{ public readonly SynchronizedReadOnlyCollection<int> ints; public Class1() { ints = new SynchronizedReadOnlyCollection<int>(new[] {1,2,3}); } public void test() { ints.Add ? } }本文共 198 字,大约阅读时间需要 1 分钟。
public class Class1
{ public readonly SynchronizedReadOnlyCollection<int> ints; public Class1() { ints = new SynchronizedReadOnlyCollection<int>(new[] {1,2,3}); } public void test() { ints.Add ? } }转载地址:http://rjgoo.baihongyu.com/