示例#1
0
 public void AddBook(Book book)
 {
     booklist.Add(book);
 }
示例#2
0
 internal void PrintPrice(Book book)
 {
     Console.WriteLine("Price: {0}$", book.Price);
 }
示例#3
0
 static void PrintTitle(Book b)
 {
     Console.WriteLine("{0}", b.Title);
 }
示例#4
0
 internal void AddBookToTotal(Book book)
 {
     priceTotal += book.Price;
 }