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.

All labels observed (2)

How this entity was disambiguated

Statements (61)

Predicate Object
instanceOf .NET collection class ⓘ
hash table data structure ⓘ
non-generic collection type ⓘ
assembly mscorlib ⓘ
linked to: mscorlib.dll
canBeSynchronized true ⓘ
collisionHandling uses buckets and probing based on hash codes ⓘ
defaultLoadFactor 0.72 ⓘ
definedInNamespace System.Collections ⓘ
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 ⓘ
linked to: System.IEquatable`1

IHashCodeProvider ⓘ
IsFixedSize ⓘ
IsReadOnly ⓘ
IsSynchronized ⓘ
Item[object key] indexer ⓘ
Keys ⓘ
SyncRoot ⓘ
Values ⓘ
implementsInterface ICollection ⓘ
IDeserializationCallback ⓘ
IDictionary ⓘ
IEnumerable ⓘ
ISerializable ⓘ
introducedIn .NET Framework 1.0 ⓘ
linked to: .NET Framework
isGeneric false ⓘ
isThreadSafe false ⓘ
keyEquality based on IEqualityComparer or IHashCodeProvider and IComparer ⓘ
keyRequirement keys must be unique ⓘ
keyType System.Object ⓘ
languageBinding C# ⓘ
VB.NET ⓘ
linked to: Visual Basic .NET
nullKeySupport does not allow null keys ⓘ
nullValueSupport allows null values ⓘ
orderingGuarantee does not preserve insertion order ⓘ
partOf .NET Base Class Library ⓘ
.NET Framework Class Library ⓘ
platform .NET 5+ ⓘ
linked to: .NET (5 and later)

.NET Core ⓘ
.NET Framework ⓘ
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 ⓘ
linked to: Hashtable
usageRecommendation use for legacy non-generic code ⓘ
uses hash codes for keys ⓘ
valueType System.Object ⓘ

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Collections → containsType → Hashtable ⓘ
Hashtable → synchronizationMethod → Hashtable.Synchronized(Hashtable) static method ⓘ
linked to: Hashtable