2021-05-13 21:28:37 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Prime_Numbers__Efficient_
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2021-05-25 19:31:16 +00:00
|
|
|
|
prime primeFinder = new prime();
|
2021-05-13 21:28:37 +00:00
|
|
|
|
|
2021-05-25 19:31:16 +00:00
|
|
|
|
Console.WriteLine(primeFinder.getPrimes(2, 2000000));
|
2021-05-23 21:11:02 +00:00
|
|
|
|
|
2021-05-13 21:28:37 +00:00
|
|
|
|
Console.ReadLine();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|