Anoche soñé que lo siguiente era imposible. Pero en el mismo sueño, alguien de SO me dijo lo contrario. Por lo tanto, me gustaría saber si es posible convertir System.ArrayaList
Array ints = Array.CreateInstance(typeof(int), 5);
ints.SetValue(10, 0);
ints.SetValue(20, 1);
ints.SetValue(10, 2);
ints.SetValue(34, 3);
ints.SetValue(113, 4);
a
List<int> lst = ints.OfType<int>(); // not working
Arraylo que realmente es, int[]y luego puedes usar ToList:((int[])ints).ToList();