Math: square root
Imports System Public Class MainClass Shared Sub Main(ByVal args As String()) ' Calculate square root of 2 Dim root As Double = Math.Sqrt(2) Console.WriteLine("The square root of 2 is " & root, _ "The Square Root of 2") End Sub End Class