Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace laibery
- {
- public class CardIndex
- {
- public CardIndex(string book, string writer, string price, string quantity)
- {
- this.book = book;
- this.writer = writer;
- this.price = double.Parse(price);
- this.quantity = int.Parse(quantity);
- }
- public string book
- {
- private set;
- get;
- }
- public string writer
- {
- private set;
- get;
- }
- public double price
- {
- private set;
- get;
- }
- public int quantity
- {
- private set;
- get;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment