Exemplo n.º 1
0
 public void IncrementBalance(string type)
 {
     if (type.ToLower().Equals(AnimalType.ToLower()))
     {
         if (IsKing)
         {
             Balance += 100;
         }
         else
         {
             Balance += 10;
         }
     }
 }