Skip to content

Glossary: C# Beyond the Basics

init

Also written: init property, init-only property

A property accessor used in place of `set` that allows the value to be set only while the object is being made, in an object initializer.

Where the book teaches it

Related terms

requiredobject initializer