OptionCollection.Count

OptionCollection.Count property

列表中选项的数量。

public int Count { get; }

也可以看看