Try this:
Int32 length = yourList.Count;
In C#, arrays have a Length
property, anything implementing IList<T>
(including List<T>
) will have a Count
property.
Try this:
Int32 length = yourList.Count;
In C#, arrays have a Length
property, anything implementing IList<T>
(including List<T>
) will have a Count
property.