private void GetBookSetName(BookTests book, string name) { book = new BookTests(name); // vytvorim novy objekt book s menom "New name" book.name = name; }
private void SetName(BookTests book, string name) { book.name = name; }