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