Array.cs: Fixed BinarySearch when the array is empty (#77030). Added some null check...