managed: practical reference
managed: practical reference: managed specifies the managed calling convention of a function pointer.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
managed: practical reference: managed specifies the managed calling convention of a function pointer.
namespace: practical reference: namespace groups names and prevents collisions without creating a runtime object.
new: practical reference: new creates an object, array, or delegate, or hides an inherited member by context.
not: practical reference: not negates a pattern in is or switch.
notnull: practical reference: notnull constrains a type to be non-nullable when nullable annotations are enabled.
null: practical reference: null denotes the absence of a reference or of a nullable value.
on: practical reference: on introduces the pair of key expressions before equals in a query join.
operator: practical reference: operator declares an operator overload for a user-defined type.
or: practical reference: or combines patterns and matches when at least one pattern matches.
orderby: practical reference: orderby sorts a query by one or more keys.
out: practical reference: out passes a parameter by reference; the callee must definitely assign it before a normal return and may read it after that assignment.
override: practical reference: override replaces an inherited virtual or abstract member with dynamic dispatch.
params: practical reference: params lets the final collection parameter accept a variable number of arguments.
partial: practical reference: partial merges declarations within the same compilation, even in one file: types and methods, plus properties and indexers from C# 13 and instance constructors and events from C# 14.
private: practical reference: private limits access to the containing type.
protected: practical reference: protected exposes a member to its type and derived classes through an appropriate receiver.
public: practical reference: public exposes a type or member to every consumer allowed by its containing type.
readonly: practical reference: readonly prevents field reassignment after construction or marks a non-mutating struct or member.
record: practical reference: record generates value equality, printing, and support for with; only a positional record synthesizes Deconstruct automatically.
ref: practical reference: ref passes or returns an alias to an existing storage location instead of a copy.
remove: practical reference: remove defines an event unsubscription accessor and receives the handler as value.
required: practical reference: required demands that a member be set by an object initializer or a SetsRequiredMembers constructor.
return: practical reference: return ends a function and can pass a result to its caller.
scoped: practical reference: scoped prevents a ref or span from escaping the safe lifetime of a call.