Exemplo n.º 1
0
 public Dragon(Bird bird, Lizard lizard, int weight)
 {
     _bird   = bird ?? throw new ArgumentNullException(nameof(bird));
     _lizard = lizard ?? throw new ArgumentNullException(nameof(lizard));
     Weight  = weight;
 }