C# Primes Helper Class