How to use BigInteger in VB.NET

1 Answer

0 votes
Imports System
Imports System.Numerics

Public Class Overflow
    Public Shared Sub Main(ByVal args As String())
        Dim x As BigInteger = BigInteger.Pow(3, 242)
 
        Console.WriteLine(x)
    End Sub
End Class


' run:
'
' 29063214161986986067637023528620257232321357468243916695175073145996989031241146647825183302277227705597018408555209
'

 



answered May 6, 2025 by avibootz
edited May 18, 2025 by avibootz

Related questions

...