CSharp - What is the output: interface extends class


What is the output from the following code

class A { }
interface I : A { }

Click to view the answer

Compile time error


An interface is not allowed to inherit from a class or structure but it can inherit from another interface.

Related Quiz