为什么我在以下声明中收到错误?
List<int> intrs = new List<int>().AddRange(new int[]{1,2,3,45});
错误:无法将类型void转换为List?
c# chaining
c# ×1
chaining ×1