Interviews2 answers
What are the differences between a class and structure?
2 Answers
Structure is value type while
Class is reference type
Mukesh KumarPosted Sep 12, 2017, 5:59 AM EDT
classes are reference types and structs are value types.
structures do not support inheritance.
structures cannot have default constructor.
Bhuvanesh MohankumarPosted May 8, 2016, 9:37 AM EDT

