日期:2014-05-18 浏览次数:21111 次
public Book GetBook(string name)//Book是一个类 { Book book = new Book(); foreach (Book b in booklist) { if (b.BookName==name) { book = b; } } return book; }