public static void CheckExpiredInsurance(Airline airline) { DateTime date = GameObject.GetInstance().GameTime; foreach (AirlineInsurance policy in airline.InsurancePolicies) { if (policy.InsuranceExpires < date) { airline.RemoveInsurance(policy); } } }