public static void Main()
Console.WriteLine("enter the array size");
n=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter the element to check");
int k=Convert.ToInt32(Console.ReadLine());
arr[i] = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("true");
Console.WriteLine("false");