Select from following answers:- struct is value type while class is reference type
- struct is reference type while class is value type
- struct and class are almost same
- None of these
- All Above
Struct are stored in stack while class are stored in heap memory moreover
Struct inherits from System.Value type while class inherits from System.Object type.
Show Correct Answer
Source: My Notes | Asked In: Many Interviews |
Alert Moderator