What is a struct in C#?
Rahul Pandey
Struct basically stands for structure which is a value type in C#. This datatype is used to store the data in stack. It is light weight storage and we should consider using it in a situation when types are short lived. int, double etc in C# are all structs.