Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where has BigInt gone? [duplicate]

Tags:

c#

biginteger

I have started on the Project Euler problems. Currently I am on Problem 13 which requires you to provide the first ten digits of the sum of 100, 50 digit numbers.

I decided I would try to solve it with a big int class in C#. I looked around on the internet and there are tons of example code with them. However, I can't seem to find BigInt in my Visual Studio 2010.

like image 539
ssirovi Avatar asked Jul 10 '11 02:07

ssirovi


1 Answers

In the .NET Framework 4.0 it's found in System.Numerics.dll. Add a reference to that assembly to gain access to System.Numerics.BigInteger.

like image 178
Peter O. Avatar answered Oct 14 '22 08:10

Peter O.