#33:Struct VS Class

Struct:

1.It is a value Type.Reside in Stack

2.It will not support Inheritance.

3.They are suitable when you hold small data.

Class:

1.It is a Reference Type-Reside in Heap.

2.They will support Inheritance. 

Leave a comment