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#

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
C#

comments and documentation: practical reference

comments and documentation: practical reference: Comments are ignored during execution and describe intent, a contract, or the reason for a decision.

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

conditional control flow: practical reference

conditional control flow: practical reference: Conditions choose a path through if, switch, patterns, and logical operators.

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

data processing pipelines: practical reference

data processing pipelines: practical reference: A data pipeline composes successive stages of acquisition, filtering, transformation, and reduction.

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

delegates and events: practical reference

delegates and events: practical reference: A delegate stores a callable contract, while an event restricts publishing the subscriber list to its owner.

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

error handling: practical reference

error handling: practical reference: Errors are represented by specific exceptions or domain results according to predictability.

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

expressions and operators: practical reference

expressions and operators: practical reference: Expressions compute values according to types, precedence, conversions, and operator overloads.

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

finite state machines: practical reference

finite state machines: practical reference: A state machine defines finite states and permitted transitions driven by events.

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

Functions and parameters: partial application and closures

Understand methods, local functions, and lambdas in C#. Learn how parameters differ from arguments, how to create a function with one argument fixed, and why a closure observes changes to a captured variable.

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

iterators and generators: practical reference

iterators and generators: practical reference: An iterator produces elements step by step through yield and retains state between MoveNext calls.

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

linear search: practical reference

linear search: practical reference: Linear search examines elements in sequence until a match or the end.

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

LINQ queries: practical reference

LINQ queries: practical reference: LINQ provides composable sequence operators, often with deferred execution.

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

loops and iteration: practical reference

loops and iteration: practical reference: Loops repeat a block until a sequence ends or a condition is met.

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

memory ownership and copies: practical reference

memory ownership and copies: practical reference: Managed memory is tracked by GC, but native resources still require deterministic release.

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

modules and boundaries: practical reference

modules and boundaries: practical reference: Assembly, namespace, and project organize code and dependency visibility.

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

numeric types: practical reference

numeric types: practical reference: Numeric types differ in range, precision, representation, and overflow rules.

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

object model and composition: practical reference

object model and composition: practical reference: The object model combines state, behavior, encapsulation, inheritance, and polymorphism.

Intermediate · C# language and .NET 10 reference runtime