struct

A C# value type declared with the struct keyword, copied in full whenever it is assigned or passed.

In more detail

Structs suit small values with no identity, such as a size or an amount. Changing a copy never changes the original, unlike a class.

Example

struct Size { public int Width; }

Related terms

Taught in

References