public CheckerPieces(CheckerPieces other) { PieceLocation = new CheckerPiece[Rows, Cols]; for (var row = 0; row < Rows; row++) { for (var col = 0; col < Cols; col++) { PieceLocation[row, col] = other.PieceLocation[row, col]; } } }
public CheckerPieces(CheckerPieces other) { PieceLocation = new CheckerPiece[Rows, Cols]; for(var row = 0; row < Rows; row++) { for(var col = 0; col< Cols; col++) { PieceLocation[row, col] = other.PieceLocation[row, col]; } } }