Interviews1 answer
When we are using the combination of Inheritance and interfaces, in what order we have to use them and what separator is used?
1 Answer
The base class always comes first followed by the interfaces (in any order) separated by commas.
For example:
class MyClass : MyBaseClass, IFace, IFace2
{
// code
}
VulpesPosted Jul 16, 2014, 12:27 PM EDT
