public static void Main()
Console.WriteLine("How many numbers do you want in the array");
string s = Console.ReadLine();
Console.WriteLine(" Enter the numbers you want in the array");
for (int i = 0; i < x; i++)
string s1 = Console.ReadLine();
Console.WriteLine("Enter the number you want to find");
string s3 = Console.ReadLine();
int x2 = Int32.Parse(s3);
int mid = (low + high) / 2;
Console.WriteLine("Search successful");
Console.WriteLine("The number {0} found at location {1}\n", x2, mid + 1);
Console.WriteLine("Search unsuccessful");