ICollection<T> インターフェイス ICollection<T> インターフェイス (System.Collections.Generic 名前空間) [APIドキュメント] public interface ICollection<T> : IEnumerable<T> プロパティ Count @ [APIドキュメント] ↑ public int Count { get; } ICollection<T> に格納されている要素の数を取得します。 メソッド