'Extends' and 'Implements' Java equivalents in C#

  • Animal is Base class
  • Diurnal is an Interface

the inheritance could be declared like this.

public class Lion : Animal, Diurnal
{

}

In C#, you can inherit one base class and can be multiple Interfaces.

One more tip, if you are making an Interface in C#, prefix it with I. eg IDiurnal


public class Lion : Animal, // base class must go first
                    Diurnal // then interface(s) if any
{
}