public void EditCoef(int coefficient, double data) { if (coefficient > coef.Length) { Polynom a = new Polynom(coefficient); a = a + this; a.EditCoef(coefficient, data); this.coef = a.coef; } else this.coef[coefficient] = data; }