static void Main(string[] args) { Class1 cls1 = new Class1(); Console.WriteLine(cls1.Count(10000000)); Console.ReadKey(); }