Project Euler C#