Count

IReadOnlyList<T>.Count property

获取集合中包含的元素数。

public int Count { get; }

适当的价值

集合中包含的元素数。

也可以看看