Home » C# Programming » Interfaces

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.

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion