I have this implementation of Sieve of Eratosthenes in C#:
public static BitArray Count() { const int halfSize