1Class Enum1
2    Shared Function Main() As Integer
3        Dim v As System.Globalization.UnicodeCategory
4        v = System.Globalization.UnicodeCategory.Format 'Enum class defines a Format method.
5        Return 0
6    End Function
7End Class