1
Reply

What is a struct in C#?

Rahul  Pandey

Rahul Pandey

11y
1k
0
Reply

    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.