When using the extension method of IEnumerable Count(), an array is at least two times slower than a list.
IEnumerable
Function Co
That is because int[] requires casting, while List does not. If you were to use Length property then result will be quite different - approx. 10x faster than List.Count().
int[]
List
List.Count()