score:17

Accepted answer

There is no Length property on List<T>. Use Count instead and for other classes that implement ICollection.

Length is typically only for arrays.


Related Articles