When should we use default interface method in C#?
Why do we have interfaces? From a theoretical point of view, both interface implementation and class inheritance solve the same problem: They allow you to define a subtype relationship between types. So why do we have both in C#? Why do we need interfaces at all? Can’t we just define an interface as an abstract … Read more