Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / C#

Knowledge base — C#

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 443

C#

System.Buffers.MemoryPool: practical reference

System.Buffers.MemoryPool: practical reference: MemoryPool<T> rents an IMemoryOwner<T> whose Memory<T> remains owned until Dispose returns the resource.

Basic · .NET API; verified on .NET 10.0.14
C#

IReadOnlyDictionary<TKey, TValue> — a dictionary exposed for reading

IReadOnlyDictionary<TKey, TValue> exposes key–value pairs for reading without mutation operations. It does not guarantee immutable data. Learn lookup options and CollectionExtensions.GetValueOrDefault.

Intermediate · .NET 10; repository net10.0 and LangVersion=preview; feature versions require per-entry verification
C#

List<T> — a resizable generic list

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.

Basic · .NET 10; repository net10.0 and LangVersion=preview; feature versions require per-entry verification