The Sieve of Eratosthenes C# implementation