Example #1
0
 public static double GetTotalPower(this Bee bee)
 {
     return(bee.Select(x => x.Power * x.Count).Sum());
 }