Lecture overview -- Keyboard shortcut: 'u'  Previous page: Structs in C# -- Keyboard shortcut: 'p'  Next page: Structs versus classes -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Reference types, Value types, and Patterns - slide 11 : 29

Structs and Initialization
The means for initialization of struct values are slightly different from the means for initialization of class instances (objects)
structs1.cs
Fields in structs cannot have initializers.
structs2.cs
An explicit parameterless constructor is not allowed.

Initializers cannot be used in Structs

The parameterless default constructor cannot be redefined.