Oct 27, 2015

When we are using the combination of Inheritance and interfaces, in what order we have to use them and what separator is used?

The base class always comes first followed by the interfaces (in any order) separated by commas. For example:


 class MyClass : MyBaseClass, IFace, IFace2 { // code }

No comments:

Post a Comment