0

I'm trying to find some function that converts from any base to any other base.

In Java, I used BigInteger which allowed me to receive a number in a pre-defined base like this: .nextBigInteger(radix) and then convert it to any other base by .ToString(radix).

I'm trying to do the same in C#, but problem is BigInteger isn't designed to get the number's radix. Is there any other way to do so?

Omer Aviv
  • 286
  • 3
  • 20

0 Answers0