VB.Net Tutorial/Statements/Imports
Версия от 16:40, 26 мая 2010; (обсуждение)
Imports command
Imports System
Public Class Step2
Shared Sub Main()
Console.WriteLine("info")
End Sub
End Class
info
Imports System
Module MyModule
Enum Medal As Short
Gold
Silver
Bronze
End Enum
Sub Main()
Dim myMedal As Medal = Medal.Bronze
Console.WriteLine("My medal: " & myMedal.ToString)
End Sub
End Module
My medal: Bronze