Use a
BigInteger[
^] (available in .NET 4.0 and higher).
First, add a reference to
System.Numerics.dll
.
Then, add this at the top of your code file:
using System.Numerics;
Now, use the
BigInteger.Parse[
^] method to parse your number:
BigInteger b = BigInteger.Parse("2318678973167632186632156464312357431213574631247864132153346979");
Console.WriteLine(b.ToString());
Hope this helps.