What are the differences between Structure and Class?
Structure 1: It is value type 2: It is stored on stack 3: It does not support inheritance 4: It is suitable for small data structure Class 1: It is reference type 2: It is stored on heap 3: It supports inheritance 4: It is suitable for complex data structures