Count

OptionCollection.Count property

获取选项数。

public int Count { get; }

也可以看看