public Deg_line_class Deep_copy()
        {
            Deg_line_class copy = (Deg_line_class)this.MemberwiseClone();

            copy.Cell       = (string)this.Cell.Clone();
            copy.Condition1 = (string)this.Condition1.Clone();
            copy.Condition2 = (string)this.Condition2.Clone();
            copy.Gene       = (string)this.Gene.Clone();
            return(copy);
        }
        private void Add_to_array(Deg_line_class[] add_degs)
        {
            int this_length = this.Degs.Length;
            int add_length  = add_degs.Length;
            int new_length  = this_length + add_length;
            int indexNew    = -1;

            Deg_line_class[] new_degs = new Deg_line_class[new_length];
            for (int indexThis = 0; indexThis < this_length; indexThis++)
            {
                indexNew++;
                new_degs[indexNew] = this.Degs[indexThis].Deep_copy();
            }
            for (int indexAdd = 0; indexAdd < add_length; indexAdd++)
            {
                indexNew++;
                new_degs[indexNew] = add_degs[indexAdd].Deep_copy();
            }
            this.Degs = new_degs;
        }