Imports System
Public Class GetNameTest
Enum Colors
Red
Green
Blue
Yellow
End Enum 'Colors
Enum Styles
Plaid
Striped
Tartan
Corduroy
End Enum 'Styles
Public Shared Sub Main()
Console.WriteLine([Enum].GetName(GetType(Colors), 3))
Console.WriteLine([Enum].GetName(GetType(Styles), 3))
End Sub 'Main
End Class 'GetNameTest