sealed: practical reference
sealed: practical reference: sealed prevents inheritance of a class or any further override of a member.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
sealed: practical reference: sealed prevents inheritance of a class or any further override of a member.
select: practical reference: select defines the final or an intermediate projection of a query expression.
set: practical reference: set writes a property or indexer and exposes the assigned value as value.
stackalloc: practical reference: stackalloc reserves a contiguous buffer in the current stack frame, usually as Span<T>.
static: practical reference: static binds a member to its type or prevents a local function from capturing state.
struct: practical reference: struct declares a value type that is copied by value by default.
switch: practical reference: switch selects the first matching case or pattern arm.
this: practical reference: this refers to the current instance or chains construction to another constructor.
throw: practical reference: throw raises an exception; a bare throw in catch rethrows it while preserving its stack.
true: practical reference: true is the bool literal that denotes truth.
try: practical reference: try delimits code whose exceptions are handled by catch and whose cleanup runs in finally.
unchecked: practical reference: unchecked disables overflow checking for the enclosed integral arithmetic and conversions.
unmanaged: practical reference: The unmanaged constraint admits value types without managed references; the keyword also describes a function-pointer ABI.
unsafe: practical reference: unsafe permits pointers and operations outside full CLR memory protection.
using: practical reference: using imports a namespace or alias, or deterministically disposes an IDisposable.
value: practical reference: value denotes the assigned value or handler inside set, init, add, and remove accessors.
var: practical reference: var asks the compiler to infer a local variable's static type from its initializer.
virtual: practical reference: virtual allows a derived class to replace behavior through override.
void: practical reference: void states that a method or delegate returns no value.
volatile: practical reference: volatile gives individual field reads and writes appropriate cross-thread visibility.
when: practical reference: when adds a filter to catch or a guard to a switch pattern.
where: practical reference: where filters elements in a query and introduces constraints in a generic declaration.
while: practical reference: while checks its condition before every iteration and may execute its body zero times.
with: practical reference: with creates a nondestructive copy only for a record class, an anonymous type, or a non-void value type, including a struct or tuple.