public static void PerformBonusCalculation(Employee person)
 {
     // This method uses the delegate stored in the person object
     // to perform the calculation.
     // Note: This method knows about the multiplier local variable, even though
     // that variable is outside the scope of this method.
     // The multipler varaible is a "captured outer variable".
     person.bonus = person.calculation_algorithm(person.sales);
 }
 public static void PerformBonusCalculation(Employee person)
 {
     // This method uses the delegate stored in the person object
     // to perform the calculation.
     // Note: This method knows about the multiplier local variable, even though
     // that variable is outside the scope of this method.
     // The multipler varaible is a "captured outer variable".
     person.bonus = person.calculation_algorithm(person.sales);
 }