Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interface First
{
void WritetoConsole() => Console.Write("In First");
}
interface Second:First{
void First.WritetoConsole()=>Console.Write("In Second");
}
interface Third:First{
void First.WritetoConsole()=>Console.Write("In Third");
}
class FinalClass : Second,Third
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment