Count

KnownTypeSet.Count property

获取集合中的项目数。

public int Count { get; }

也可以看看