what do you mean by Struct in C#?

The struct is the short form of structure, it is a data type available in C programming languages, such as C#, C++, and C.

A struct type can be decleare contstructor, constants, fields, methods, properties, indexers, operators and nested type.

The difference between struct and class in C# is that struct is a value type and class is reference type.

Since structs group the data into a contiguous block of memory therefore only a single pointer is needed to access all the data of a specific article.

👈       👉