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.Threading.Interlocked: practical reference

System.Threading.Interlocked: practical reference: Interlocked performs atomic read-modify-write operations on supported memory locations.

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

Task — asynchronous operations and waiting for groups of tasks

Task represents an asynchronous operation, while Task<T> also provides its result. Learn the differences between Task.Yield, blocking Task.WaitAll, and nonblocking Task.WhenAll, including result ordering and failure handling.

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

System.Threading.Tasks.ValueTask: practical reference

System.Threading.Tasks.ValueTask: practical reference: ValueTask<T> can wrap a synchronous result or an asynchronous operation with fewer allocations.

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

System.Threading.Volatile: practical reference

System.Threading.Volatile: practical reference: Volatile.Read and Volatile.Write provide visibility and appropriate barriers for one memory location.

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

System.TimeOnly: practical reference

System.TimeOnly: practical reference: TimeOnly represents a time of day without a date, time zone, or offset.

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

System.TimeProvider: practical reference

System.TimeProvider: practical reference: TimeProvider abstracts current time and timers, enabling deterministic tests.

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

System.TimeSpan: practical reference

System.TimeSpan: practical reference: TimeSpan represents a duration as a number of ticks, not a date or time zone.

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

System.Type: practical reference

System.Type: practical reference: Type represents runtime type metadata, including generic definitions and members.

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

Task.Delay: practical reference

Task.Delay: practical reference: Task.Delay returns a Task that completes after a delay or cancellation without blocking a thread.

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

Task.Run: practical reference

Task.Run: practical reference: Task.Run queues a delegate to the thread pool and returns a Task for its execution.

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

Task.WaitAsync: practical reference

Task.WaitAsync: practical reference: Task.WaitAsync adds timeout or cancellation to waiting without changing the original Task.

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

Task.WhenAll: practical reference

Task.WhenAll: practical reference: Task.WhenAll completes after every task and aggregates results in input order.

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

Task.WhenAny: practical reference

Task.WhenAny: practical reference: Task.WhenAny completes when the first task reaches a terminal state and returns that Task.

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

TextWriter.Write(ReadOnlySpan<char>) — writing a text slice

TextWriter.Write(ReadOnlySpan<char>) writes characters from a memory view without appending a line terminator. It lets the caller pass a text slice without creating a substring, but does not guarantee allocation-free writing inside a particular writer.

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

Thread — starting a thread, waiting, and culture settings

Thread lets you create and control threads directly. Learn the difference between Start and Join, how to access the current thread, and the separate roles of CurrentCulture and CurrentUICulture.

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

Utf8JsonReader — reading JSON tokens from UTF-8

Utf8JsonReader in System.Text.Json reads UTF-8 JSON bytes one token at a time, moving only forward. It lets you select values without building a document tree or deserializing the document into objects.

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

Utf8JsonWriter — sequential UTF-8 JSON writing

Utf8JsonWriter in System.Text.Json lets you manually write JSON as UTF-8 bytes to a Stream or IBufferWriter<byte>. You control property order and document structure, while the writer handles JSON syntax and string escaping.

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

Program architecture: a DSL parser, AST, and interpreter

Separate a small domain-specific language's syntax from its execution. A parser constructs an abstract syntax tree, and an AST interpreter computes the result from its nodes. This separation lets you test text processing, program representation, and execution rules independently.

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

asynchrony and concurrency: practical reference

asynchrony and concurrency: practical reference: Asynchrony frees a thread while waiting, while concurrency lets several operations make progress together.

Intermediate · C# language and .NET 10 reference runtime
C#

collections: practical reference

collections: practical reference: Collections model ordering, uniqueness, mapping, and data mutability.

Intermediate · C# language and .NET 10 reference runtime