Question: what is difference between class and structure?
Answer: Class can create a subclass that will inherit parent's properties and methods, whereas Structure does not support the inheritance. A class has all members private by default. A struct is a class where members are public by default. ... Boxing and unboxing operations are used to convert between a struct type and object.