コード例 #1
0
 public void Detach(Fruit fruit)
 {
     list.Remove(fruit);
 }
コード例 #2
0
 public void Attach(Fruit fruit)
 {
     list.Add(fruit);
 }