using System;
public class Program
{
public static void Main()
sortingdata();
}
static void sortingdata()
Console.WriteLine("Linear search");
int[] allmarks = new int[25]{12,23,34,45,56,09,87,23,45,65,23,45,56,32,54,32,76,87,54,98,12,34,32,87,37};
bool found = false;
Console.WriteLine("Please enter mark between 1 to 100 ");
Console.WriteLine();
int vMark = int.Parse(Console.ReadLine());
for ( int i = 0; i < allmarks.Length; i ++)
if ( allmarks[i] == vMark)
Console.WriteLine("Mark found!!");
found = true;
break;
if ( found == false)
Console.WriteLine("Mark is not found");