CSharp - What is the output: interface extends class

Question

What is the output from the following code

class A { }
interface I : A { }


Click to view the answer

Compile time error

Note

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

Related Quiz