public class Solution
{
public double FindMedianSortedArrays(int[] nums1, int[] nums2)
{
var nums = nums1.Concat(nums2).OrderBy(x => x).ToArray();
var len = nums.Length;
if (len % == )
{
return Convert.ToDouble(nums[len / ] + nums[len / - ]) / ;
}
else
{
return Convert.ToDouble(nums[len / ]);
}
}
}