开发者

Where has BigInt gone? [duplicate]

开发者 https://www.devze.com 2023-03-18 08:32 出处:网络
This question already has answers here: Where is my System.Numerics nam开发者_运维问答espace? (2 answers)
This question already has answers here: Where is my System.Numerics nam开发者_运维问答espace? (2 answers) Closed 10 years ago.

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号