C# Error no BigInteger namesapypce found | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C# Error no BigInteger namesapypce found

I was hoping to use the BigInteger type in some code, however the BigInteger namespace could not be found, despite me using the correct System.Numerics namespace. If this is a question of the compiler being outdated, I hope in the future it could be updated. I know that there have been other posts but other value types are too small for what I am attempting to implement. Thanks for any help!

31st Dec 2019, 6:43 PM
Gabriel Altwarg-Peel
Gabriel Altwarg-Peel - avatar
2 Answers
+ 8
To use BigInteger you need to add a link to the System.Numerics.dll library. And only after that you can use the System.Numerics namespace.
1st Jan 2020, 12:19 PM
༼ つ ◕_◕ ༽つ
༼ つ ◕_◕ ༽つ - avatar
+ 1
And may I ask if that is possible in SoloLearn
1st Jan 2020, 12:41 PM
Gabriel Altwarg-Peel
Gabriel Altwarg-Peel - avatar