NonGenericList.Count

NonGenericList.Count property

获取 ICollection 中包含的元素数量。

public int Count { get; }

另请参见