IReadOnlyCollection<T>.Count 属性

定义

获取集合中的元素数。Gets the number of elements in the collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

属性值

集合中的元素数。The number of elements in the collection.

适用于