Category: program

program

  • Interface

    Interface

    public interface ISimpleInterface
    {
      void ThisMethodRequiresImplementation();
      
      string ThisStringPropertyNeedsImplementingToo
      {
        get;
        set;
      }
      
      int ThisIntegerPropertyOnlyNeedsAGetter
      {
        get;
      }
      
      public event EventHandler<EventArgs> InterfacesCanContainEventsToo;
    }