C# 创建一个List<int>类型(int是连续很多个的)的最简单的方法

var numberList = Enumerable.Range(1, 10).ToList();
原文地址:https://www.cnblogs.com/dayang12525/p/12179140.html