コード例 #1
0
ファイル: Beehive.cs プロジェクト: shinahu/Beehieve-
 public void AddBees(Bees newBee)
 {
     if (bees.Count >= this.maxAmountofBees)
     {
         System.Console.WriteLine("The maximum amount of bees in the Hive reached");
     }
     else
     {
         this.bees.Add(newBee);
     }
 }