Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ServerTest
- {
- public class GoldenEditionBook : Book
- {
- public GoldenEditionBook(string title, string author, double price)
- : base(title, author, price)
- {
- }
- public override double ChangedPrice
- {
- get
- {
- return base.ChangedPrice * 0.30 + this.Price;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement