System.Collections.Generic.Dictionary: practical reference
System.Collections.Generic.Dictionary: practical reference: Dictionary<TKey,TValue> maps unique keys to values according to an IEqualityComparer<TKey>.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
System.Collections.Generic.Dictionary: practical reference: Dictionary<TKey,TValue> maps unique keys to values according to an IEqualityComparer<TKey>.
System.Collections.Generic.HashSet: practical reference: HashSet<T> stores unique values according to the equality and hash code supplied by its comparer.
System.Collections.Generic.IAsyncEnumerable: practical reference: IAsyncEnumerable<T> represents a stream whose successive MoveNextAsync operations may wait asynchronously for each item.
System.Collections.Generic.IComparer: practical reference: IComparer<T> defines ordering by returning a negative value, zero, or a positive value from Compare.
System.Collections.Generic.IEnumerable: practical reference: IEnumerable<T> describes a sequence without promising its size, indexing, buffering, or repeatability.
System.Collections.Generic.IEnumerator: practical reference: IEnumerator<T> is a stateful cursor advanced by MoveNext, with Current exposing the element at the valid position.
System.Collections.Generic.IEqualityComparer: practical reference: IEqualityComparer<T> defines matching Equals and GetHashCode behavior for keys or elements.
IReadOnlyDictionary<TKey, TValue> exposes key–value pairs for reading without mutation operations. It does not guarantee immutable data. Learn lookup options and CollectionExtensions.GetValueOrDefault.
System.Collections.Generic.IReadOnlyList: practical reference: IReadOnlyList<T> exposes Count and indexed reads without mutation methods on the interface.
System.Collections.Generic.LinkedList: practical reference: LinkedList<T> is a doubly linked list with constant-time insertion or removal when the node is already known.
List<T> in System.Collections.Generic stores elements of a specified type in an ordered, mutable collection. The Add method appends an element, while the Count property reports the current number of elements, not the list's capacity.
System.Collections.Generic.PriorityQueue: practical reference: PriorityQueue<TElement,TPriority> removes the element with the lowest priority according to its priority comparer.
System.Collections.Generic.Queue: practical reference: Queue<T> implements first-in, first-out order through Enqueue, Peek, and Dequeue.
System.Collections.Generic.SortedDictionary: practical reference: SortedDictionary<TKey,TValue> keeps keys ordered by an IComparer<TKey> with logarithmic lookup and update operations.
System.Collections.Generic.SortedSet: practical reference: SortedSet<T> keeps unique elements in the order defined by its comparer.
System.Collections.Generic.Stack: practical reference: Stack<T> implements last-in, first-out order through Push, Peek, and Pop.
System.Collections.Immutable.ImmutableArray: practical reference: ImmutableArray<T> is a value-type immutable array whose update operations return another structure.
System.Collections.Immutable.ImmutableDictionary: practical reference: ImmutableDictionary<TKey,TValue> returns a new structurally shared map after each effective change.
System.Collections.Immutable.ImmutableHashSet: practical reference: ImmutableHashSet<T> returns a new set version after an effective Add or Remove operation.
System.Collections.Immutable.ImmutableList: practical reference: ImmutableList<T> returns structurally shared list versions after update operations.
Comparison<T> in System describes a function comparing two values of type T. It returns an int whose sign determines their order; this delegate can be passed to List<T>.Sort.
System.Console: practical reference: Console exposes the process standard input, output, and error streams together with text-oriented operations.
System.Convert: practical reference: Convert performs defined conversions between types and representations, often through IConvertible.
System.DateOnly: practical reference: DateOnly represents a calendar date without a time of day or time zone.