public static void Main()
string[] studentarray={"George","Josh","Mitchell","Manuel","Danny","Jack","Sam"};
Console.WriteLine("Enter the student to be found");
string value = Console.ReadLine();
int low = 0, high = studentarray.Length-1, middle=0;
middle = low+(high-low)/2;
if (value==studentarray[middle])
Console.WriteLine("The element has been found at the index: " + middle);
else if (String.Compare(value, studentarray[middle]) < 0)