Question: what is difference between interface and inheritance in c#?
Answer: Hi, Inheritance is an element of object oriented programming that allows similar objects to inherit functionality and data from each other. Interfaces define properties, methods, and events, which are the members of the interface. Interfaces contain only the declaration of the members.