Is there a C# counterpart for Java's BigInteger class? I am creating an application that must use integers beyond the range of the decimal class. If not, are there any other ideas for working with very large integers?
Thanks in advance!
blah blah blah is here! blah blah » Close
1 answers
We have 'long', UInt64, Int64, Int32, UInt32. Theast four are part of CTS.
answered 2 years ago by:
0
I know that in the ACM contests that they have problems for BigInt classes for C++, but I don't know any for C#. I bet someone made one for it.
answered 2 years ago by:
0
For OleDbType Enumerations there is a member (BigInt):
BigInt - A 64-bit signed integer (DBTYPE_I8). This maps to Int64.
So you can use Int64 for your really big numbers.
enjoy
_Vivek
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!