Sieve of Eratosthenes Implementation in C#