C# solution to sum of the first 1000 prime numbers