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