Interviews1 answer
What is a struct in C#?
1 Answer
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.
Ritesh SharmaPosted May 30, 2014, 7:45 PM EDT
