Euler Problem 206 Solution C#