Difference between classes and structure?
- Class is Reference Type and Structure is value type.
- Class object is stored in heap and structure object is stored in stack.
- Class support inheritance and structure does not support can inheritance.
- Classes have destructor but structure does not allow destructor.
- Classes and structure both can implements the interfaces.