Skip to content

Instantly share code, notes, and snippets.

@NeelBhatt
Created November 10, 2019 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeelBhatt/05759ad1369d50942cae43c50579ffb1 to your computer and use it in GitHub Desktop.
Save NeelBhatt/05759ad1369d50942cae43c50579ffb1 to your computer and use it in GitHub Desktop.
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