Question: Complete the following method that merges 2 rectangular Int32 arrays: public Int32[,] MergeArrays( Int32[,] Array1, Int32[,] Array2, MergeType Type) { Int32[,] retVal=null; //-------------------------------------------------------- //Your code
Complete the following method that merges 2 rectangular Int32 arrays:
public Int32[,] MergeArrays( Int32[,] Array1, Int32[,] Array2, MergeType Type)
{
Int32[,] retVal=null;
//--------------------------------------------------------
//Your code here!
//--------------------------------------------------------
return retVal;
Example: There are two arrays , array 1 has 1,2,3,3 and array 2 has 5,6,7,8 and we have to combine both array one and array two
1 2 5 6 = 1 2 5 6
3 4 7 8 3 4 7 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
