Count

CollectionBase<T>.Count property

获取元素个数。

public int Count { get; }

也可以看看