バージョン 24.2 (最新)

Count プロパティ

ICollection 内に含まれている要素数を取得します。
シンタックス
public int Count {get;}

プロパティ値

ICollection にある要素の数。
参照