I have noticed people searching for my IProblemBase class. There is really nothing to it to be honest. I just have all my Problem[n] classes implement it so that my test harness can call them easily. What I really need to publish is my BigInt class that most of the solutions I do publish use. Sorry, it needs some polish so its going to be a while for that one.
IProblemBase
namespace Euler
{
public interface IProblemBase
{
string GetAnswer();
}
}
Program
namespace Euler
{
class Program
{
static void Main(string[] args)
{
IProblemBase p = new Problem48();
string answer = p.GetAnswer();
//etc.....
}
}
}