Mega Code Archive

 
Categories / VB.Net / Development
 

Math BigMul produces the full product of two 32-bit numbers

Imports System Class Sample    Public Shared Sub Main()       Dim int1 As Integer = Int32.MaxValue       Dim int2 As Integer = Int32.MaxValue       Dim longResult As Long       longResult = Math.BigMul(int1, int2)       Console.WriteLine(longResult)    End Sub End Class