Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Problems from ProjectEuler solved in C#
C#
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ProjectEuler
.gitignore
ProjectEuler.sln
README.md

README.md

This is a simple little set of solutions to the problems on ProjectEuler : http://projecteuler.net

My Badge
My Euler Badge

There is a little bit of a framework. I do a problem by implementing IProblem. Each problem goes in a separate file. Reference this in the main and it runs. It also records the milliseconds elapsed.

Example Problem1.cs:

class Problem1 : IProblem
{
  void Run()//IProblem.Run
  {
    //do your stuff here
  }
}

Then:

static void Main()
{ 
   //method signature => RunProblem(IProblem p)
   RunProblem(new Problem1());
}

Do give me a buzz if you find errors or mistakes or improvements :)

Something went wrong with that request. Please try again.