public class SchoolBus:IBus
{
private int Price = 8000;
//Implementing the property
public float DiscountPrice
{
get { return price * 0.95f; }
}
}
So the Interface forces to Implement the DiscountPrice Property. Also it forces that it should be read only.