Beispiel #1
0
 public static void AddNewAuthor(string name, int year, Publication publication)
 {
     _authors.Add(new Author(name, year, publication));
 }
Beispiel #2
0
 public Author(string name, int year, Publication publication) : this(name, year)
 {
     Publications = new List <Publication>();
     Publications.Add(publication);
 }