public Book(string Name, int Size, int Popular, int IdNode, TypeSender ts) { this.Name = Name; this.Size = Size; this.Popular = Popular; this.IdNode = IdNode; this.ts = ts; Id = id; id++; AddDB(); }