Пример #1
0
 private void GetBookSetName(BookTests book, string name)
 {
     book      = new BookTests(name); // vytvorim novy objekt book s menom "New name"
     book.name = name;
 }
Пример #2
0
 private void SetName(BookTests book, string name)
 {
     book.name = name;
 }