Main Class
Our main class only contains the input and output methods. Don't forget to perform 4P here.
static void Main(string[] args)
{
// array initialization
int[] arraySearchRotated = { 5, 6, 7, 8, 9, 10, 1, 2, 3 };
// target input
int target = 10;
// output from binarySearchRotated function
Console.WriteLine(binarySearchRotated(arraySearchRotated, target));
}