interfaces

  • An interface looks like a class but has got no implementation
  • In an interface we cannot do any implementation but we can declare signatures of properties, methods, delegates and events.
  • Implementation part is been handle bu the class that implements the interface.
  • we can implement single interface or multiple interfaces to the class. By default interfaces are public
  • we declare interface by using "interface" keyword.
Posted on by