Which of the following statements is correct about the C#.NET code snippet given below? interface IMyInterface
{
void fun1();
void fun2();
}
class MyClass: IMyInterface
{
private int i;
void IMyInterface.fun1()
{
// Some code
}
}
Correct Answer: The compiler will report an error since the interface IMyInterface is only partially implemented.
Discussion & Comments