C# Implementation of Problem 7
View source code here on GitHub!
1/*
2Project Euler Problem 7
3
4Problem:
5
6By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that
7the 6th prime is 13.
8
9What is the 10 001st prime number?
10*/
11using System;
12
13namespace Euler
14{
15 public class p0007 : IEuler
16 {
17 public object Answer()
18 {
19 return Prime.Primes<int>().ElementAt(10000);
20 }
21 }
22}