using System;
public class Program
{
public static void Main()
var array = new []{1,2,3,1,4,5,6,1,8,9,0};
var numberToFind = 2;
var result = Array.FindAll(array, x=>x == numberToFind);
Console.WriteLine(numberToFind + " is " + result.Length + " times in the array");
}