Beispiel #1
0
 public bool Equals(Books tempBook)
 {
     return(this.isbn == tempBook.GetIsbn());
 }
Beispiel #2
0
 // the methods that are used in the BooksUtility object/class
 // to compare any particular ISBN and use the Sequential Search
 public int CompareTo(Books value)
 {
     return(this.isbn.CompareTo(value.GetIsbn()));
 }