public bool IsEquivalentType(ICoefficient coef) { return this.GetType() == coef.GetType() && this.CountGoals == ((CoefAndGoals) coef).CountGoals; }
public bool IsEquivalentType(ICoefficient coef) { return this.GetType() == coef.GetType(); }