Example #1
0
 public Library()
 {
     Books = new List <Book>();
     try
     {
         BooksToXML.Deserialize(this);
         Books[0].setCounter(Books.Last <Book>().Id);
     }catch (Exception)
     {
     }
 }
Example #2
0
 public bool Save()
 {
     BooksToXML.Serialize(this);
     return(true);
 }