Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 70074f2851
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (19 sloc) 0.436 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
using ProjectEuler.Utilities;
using System.Linq;
using System;
using System.Collections.Generic;

namespace ProjectEuler.Problems
{
    class Problem10 : IProblem
    {
        private long m_primesLessThan;

        public Problem10(long primesLessThan)
        {
            m_primesLessThan = primesLessThan;
        }

        public long Run()
        {
            return new Primes(m_primesLessThan).Sum();
        }

    }
}
Something went wrong with that request. Please try again.