0

Is there a data type to store 2^256 big integer numbers in variables in C#? As far as I know it exceeds the limit of BigInt.

Bob
  • 209
  • 2
  • 11

1 Answers1

6

Assuming that you're talking about exact integers: BigInteger is arbitrarily large. However, it may also be possible to just use a quad of Int64, depending on the exact operations you need to perform.

Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900