예제 #1
0
 public void AddFish(Fish fish)
 {
     Fish.Add(fish);
 }
예제 #2
0
 private static bool IsOverWeight(Fish fish)
 {
     return(fish.Weight > 10);
 }
예제 #3
0
 public void Add(Fish newfish)
 {
     aquarium.Add(newfish);
 }
예제 #4
0
 public void Add(Fish fish)
 {
     this.FishTank.Add(fish);
 }
예제 #5
0
 public void Add(Fish fish)
 {
     Fishes.Add(fish);
 }