Converts BigInteger to string using the specified culture-specific formatting information.
using System;
using System.Globalization;
using System.Numerics;
publicclass Example
{
publicstaticvoid Main()
{
BigInteger number = 999999999999999;
number = BigInteger.Pow(number, 3) * BigInteger.MinusOne;
NumberFormatInfo bigIntegerProvider = new NumberFormatInfo();
bigIntegerProvider.NegativeSign = "~";
Console.WriteLine(number.ToString(bigIntegerProvider));
}
}