Hashtable
E697490
Hashtable is a non-generic collection class in .NET that stores key-value pairs using hash codes to enable fast lookups, insertions, and deletions.
Statements (61)
| Predicate | Object |
|---|---|
| instanceOf |
.NET collection class
ⓘ
hash table data structure ⓘ non-generic collection type ⓘ |
| assembly | mscorlib NERFINISHED ⓘ |
| canBeSynchronized | true ⓘ |
| collisionHandling | uses buckets and probing based on hash codes ⓘ |
| defaultLoadFactor | 0.72 ⓘ |
| definedInNamespace | System.Collections NERFINISHED ⓘ |
| hasMethod |
Add(object key, object value)
ⓘ
Clear() ⓘ Contains(object key) ⓘ ContainsKey(object key) ⓘ ContainsValue(object value) ⓘ CopyTo(Array array, int index) ⓘ GetEnumerator() ⓘ GetObjectData(SerializationInfo info, StreamingContext context) ⓘ OnDeserialization(object sender) ⓘ Remove(object key) ⓘ |
| hasProperty |
Comparer
ⓘ
Count ⓘ EqualityComparer NERFINISHED ⓘ IHashCodeProvider NERFINISHED ⓘ IsFixedSize ⓘ IsReadOnly ⓘ IsSynchronized ⓘ Item[object key] indexer ⓘ Keys ⓘ SyncRoot ⓘ Values ⓘ |
| implementsInterface |
ICollection
ⓘ
IDeserializationCallback ⓘ IDictionary ⓘ IEnumerable NERFINISHED ⓘ ISerializable NERFINISHED ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| isGeneric | false ⓘ |
| isThreadSafe | false ⓘ |
| keyEquality | based on IEqualityComparer or IHashCodeProvider and IComparer ⓘ |
| keyRequirement | keys must be unique ⓘ |
| keyType | System.Object NERFINISHED ⓘ |
| languageBinding |
C#
NERFINISHED
ⓘ
VB.NET NERFINISHED ⓘ |
| nullKeySupport | does not allow null keys ⓘ |
| nullValueSupport | allows null values ⓘ |
| orderingGuarantee | does not preserve insertion order ⓘ |
| partOf |
.NET Base Class Library
NERFINISHED
ⓘ
.NET Framework Class Library NERFINISHED ⓘ |
| platform |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| recommendedAlternative | System.Collections.Generic.Dictionary<TKey,TValue> ⓘ |
| resizingBehavior | grows as needed when load factor is exceeded ⓘ |
| serializationSupport | binary serialization ⓘ |
| stores | key-value pairs ⓘ |
| supportsOperation |
fast deletion
ⓘ
fast insertion ⓘ fast lookup ⓘ |
| synchronizationMethod | Hashtable.Synchronized(Hashtable) static method NERFINISHED ⓘ |
| usageRecommendation | use for legacy non-generic code ⓘ |
| uses | hash codes for keys ⓘ |
| valueType | System.Object NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.