public static void Main()
int [] numbers = new int[] {1, 3, 5, 7, 10, 12, 13};
int length = numbers.Length;
int MP = (LB + (UB - LB)/2);
Console.WriteLine("What number do you want to find?");
int search = Convert.ToInt32(Console.ReadLine());
while (found = false && LB <= UB)
else if (numbers[MP] < search)
Console.WriteLine("Number found at {}", MP);
Console.WriteLine("Number not found in list");