// candidate has been calculated so replace the primary with the candidate. public void ApplyCandidateExpressionList() { _expressionList.Clear(); // Give the garbage collector a heads up. _expressionList = _candidateExpressionList; _candidateExpressionList = new CExpressionList(); GC.Collect(); }