สร้างรายการ c#
using System.Collections.Generic
//type is your data type (Ej. int, string, double, bool...)
List<type> newList = new List<type>();
creatw รายชื่อของ int ได้อยู่ใน C#
List<int> myValues = new List<int>(new int[] { 1, 2, 3 } );
decalre เป็น int ได้รายชื่อ mvc
List<int> intList = new List<int>();