1
Reply

What is a struct in C#?

Rahul  Pandey

Rahul Pandey

Jun 11, 2013
999
0

    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 Sharma
    May 30, 2014
    0