public void Copy(CArray Origin, CArray Destiny) { for (int i = 0; i < Origin.mNum; i++) { Destiny.mArray[i] = Origin.mArray[i]; } Destiny.mNum = Origin.mNum; }
public void Copy(CArray Destiny) { for (int i = 0; i < mNum; i++) { Destiny.mArray[i] = mArray[i]; } Destiny.mNum = mNum; }
// Constructor copia. public CArray(CArray A) { for (int i = 0; i < this.mNum; i++) { this.mArray[i] = A.mArray[i]; } this.mNum = A.mNum; }
public void Copy(CArray Origin, CArray Destiny, ListBox lstData) { for (int i = 0; i < Origin.mNum; i++) { Destiny.mArray[i] = Origin.mArray[i]; } Destiny.mNum = Origin.mNum; Print(lstData); }