CSharp examples for Custom Type:interface
The following snippet shows how the IShape interface created earlier could be extended:
public interface IShape { long Area(); long Circumference(); int Sides{ get; set; }; } interface I3DShape : IShape { int Depth { get; set; } }