interface with base class and derived class to achieve multiple inheritance
<p>I got the following code where i would like to know the relationship between those class and interface.</p>

<p>Multiple inheritance wont work with C# but can we implement using interface?</p>

<p>Please tell me whether the following code will complie or not? why it is so ?
I am very confused?
Pleasehelp me out........</p>

<pre><code>public interface MyInterface 
{ 
    void Method(); 
}

public class Base 
{
     public void Method() { }
}

public class Derived : Base, MyInterface { }
</code></pre>
