Mega Code Archive
Categories
/
VB.Net
/
Data Types
Enum ToString Method converts the value to string representation
Enum Shade Red Green Blue Yellow = 12 End Enum 'Colors Public Module Example Public Sub Main() Dim shadeName As String = CType(1, Shade).ToString() End Sub End Module