public void Add(object obj) { Array.Resize(ref _tt, _tt.Length + 1); _tt[_count] = new TypeTraning(); _tt[_count].AddType(obj); _count++; }
public object Clone() { TypeTraning[] tempTT = new TypeTraning[_tt.Length]; for (int i = 0; i < _tt.Length; i++) { tempTT[i] = _tt[i]; } return(new TraningOccup { DescriptText = this.DescriptText, _tt = tempTT, NumId = this.NumId, _countVer = this._countVer, _version = this._version, _count = this._count }); }