Project Euler problems and solutions (C#)