NonGenericList.Count

NonGenericList.Count property

获取包含的元素个数ICollection .

public int Count { get; }

也可以看看