System.Collections 名前空間
リスト、キュー、ビット配列、ハッシュ テーブル、ディクショナリなど、オブジェクトのさまざまなコレクションを定義するインターフェイスとクラスが含まれています。 Contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
クラス
ArrayList |
必要に応じてサイズが動的に拡大される配列を使用して IList インターフェイスを実装します。Implements the IList interface using an array whose size is dynamically increased as required. |
BitArray |
ビット値の小型の配列を管理します。このビット値はブール型として表され、 |
CaseInsensitiveComparer |
2 つのオブジェクトが等しいかどうかを比較します。比較時には文字列の大文字と小文字は区別されません。Compares two objects for equivalence, ignoring the case of strings. |
CaseInsensitiveHashCodeProvider |
文字列の大文字と小文字を区別しないハッシュ アルゴリズムを使用して、オブジェクトのハッシュ コードを提供します。Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings. |
CollectionBase |
厳密に型指定されたコレクションの |
Comparer |
2 つのオブジェクトが等しいかどうかを比較します。文字列の大文字と小文字は区別されます。Compares two objects for equivalence, where string comparisons are case-sensitive. |
DictionaryBase |
厳密に型指定されたキー/値ペアのコレクションの |
Hashtable |
キーのハッシュ コードに基づいて編成された、キーと値のペアのコレクションを表します。Represents a collection of key/value pairs that are organized based on the hash code of the key. |
Queue |
オブジェクトの先入れ先出しコレクションを表します。Represents a first-in, first-out collection of objects. |
ReadOnlyCollectionBase |
厳密に型指定された非ジェネリック読み取り専用コレクションのための |
SortedList |
キーによって並べ替えられ、キーとインデックスを使ってアクセスできる、キー/値ペアのコレクションを表します。Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index. |
Stack |
シンプルな後入れ先出し (LIFO) の非ジェネリック オブジェクト コレクションを表します。Represents a simple last-in-first-out (LIFO) non-generic collection of objects. |
StructuralComparisons |
2 つのコレクション オブジェクトの構造比較を実行するオブジェクトを提供します。Provides objects for performing a structural comparison of two collection objects. |
構造体
DictionaryEntry |
設定または取得できる、ディクショナリのキー/値ペアを定義します。Defines a dictionary key/value pair that can be set or retrieved. |
インターフェイス
ICollection |
すべての非ジェネリック コレクションについて、サイズ、列挙子、および同期メソッドを定義します。Defines size, enumerators, and synchronization methods for all nongeneric collections. |
IComparer |
2 つのオブジェクトを比較するメソッドを公開します。Exposes a method that compares two objects. |
IDictionary |
キー/値ペアの非ジェネリック コレクションを表します。Represents a nongeneric collection of key/value pairs. |
IDictionaryEnumerator |
非ジェネリック ディクショナリの要素を列挙します。Enumerates the elements of a nongeneric dictionary. |
IEnumerable |
非ジェネリック コレクションに対する単純な反復処理をサポートする列挙子を公開します。Exposes an enumerator, which supports a simple iteration over a non-generic collection. |
IEnumerator |
非ジェネリック コレクションに対する単純な反復処理をサポートします。Supports a simple iteration over a non-generic collection. |
IEqualityComparer |
オブジェクトの等価比較をサポートするメソッドを定義します。Defines methods to support the comparison of objects for equality. |
IHashCodeProvider |
カスタム ハッシュ関数を使用して、オブジェクトのハッシュ コードを提供します。Supplies a hash code for an object, using a custom hash function. |
IList |
インデックスによって個別にアクセスできるオブジェクトの非ジェネリック コレクションを表します。Represents a non-generic collection of objects that can be individually accessed by index. |
IStructuralComparable |
コレクション オブジェクトの構造比較をサポートします。Supports the structural comparison of collection objects. |
IStructuralEquatable |
オブジェクトの構造が等価かどうかの比較をサポートするメソッドを定義します。Defines methods to support the comparison of objects for structural equality. |