Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

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

Entries: 5788

C#

System.Predicate<T> — a delegate for testing a condition

System.Predicate<T> describes a test that takes one argument of type T and returns bool. It lets you store a condition in a variable, invoke it directly, or pass it to a search method such as Array.Find.

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

System.Random: practical reference

System.Random: practical reference: Random generates a deterministic pseudorandom sequence determined by its state and seed.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.ReadOnlyMemory: practical reference

System.ReadOnlyMemory: practical reference: ReadOnlyMemory<T> provides a durable read-only buffer view that can be used across async boundaries.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.ReadOnlySpan: practical reference

System.ReadOnlySpan: practical reference: ReadOnlySpan<T> is a stack-only read-only view of contiguous memory.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.Span: practical reference

System.Span: practical reference: Span<T> is a stack-only mutable view of a contiguous memory region.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.String: practical reference

System.String: practical reference: String is an immutable UTF-16 sequence; operations create new strings when content changes.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.StringComparer: practical reference

System.StringComparer: practical reference: StringComparer combines consistent string comparison and hashing under a culture or ordinal policy.

Basic · .NET API; verified against .NET 10 reference surface
C#

System.StringComparison: practical reference

System.StringComparison: practical reference: StringComparison specifies the exact semantics of a string comparison.

Basic · .NET API; verified against .NET 10 reference surface
C#

JsonSerializerOptions — configuring JSON reading and writing

System.Text.Json.JsonSerializerOptions controls how .NET objects map to JSON and back. Configure property naming, comments, unknown properties, number handling, and omission of null values. Set up an instance before its first use and reuse it for subsequent operations.

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

System.Text.StringBuilder: practical reference

System.Text.StringBuilder: practical reference: StringBuilder maintains a mutable character buffer for repeated text composition.

Basic · .NET API; verified against .NET 10 reference surface
C#

CancellationTokenSource — requesting cancellation and releasing resources

CancellationTokenSource manages cooperative cancellation through a CancellationToken. Cancel requests that work stop, whereas Dispose releases resources and does not cancel operations.

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

Channel — asynchronous producer-consumer data transfer

System.Threading.Channels.Channel creates channels connecting producers and consumers. A bounded channel can asynchronously wait for available space, while an unbounded channel imposes no item-count limit. Options also describe guarantees about concurrent read and write operations.

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