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;
}
Note*
MergeType is an enum that indicates either a vertical or horizontal merge!
Examples: see image.