Class Test
Private _robo As String
Public Sub New(ByVal robo As String)
_robo = robo
Console.WriteLine(_robo)
End Sub
Public Sub Show()
Console.WriteLine(_robo)
End Sub
End Class
Module Module1
Sub Main()
Dim o As Test = New Test("R2D2")
o.Show()
End Sub
End Module
' run:
'
' R2D2
' R2D2