public static void Main()
double[] values = { 32.7865, 7.03, 7.64, 0.12, -0.12, -7.1, -7.6, -32.9012 };
if(searchVal.NotIn(values))
Console.WriteLine("{0} doesn't exists in the list.", searchVal);
Console.WriteLine("{0} exists in the list.", searchVal);