Imports System Public Class MainClass Shared Sub Main(ByVal args As String()) Dim random As New System.Random() Console.WriteLine(random.Next(10)) End Sub End Class