public void Replace(CNode child, CNode newchild) { if (child == expression) Expression = (CExpression)newchild; }