I am using Window Application for my project. There is situation where i need to define string enum and using it in my project.
i.e.
Dim PersonalInfo
How can i get this value using ENUM? or anyother way to do it.
There are three common ways of mapping enum values to strings:
Dictionary(Of YourEnumType, String)DescriptionAttribute) and fetch them with reflectionSwitch statementThe first of these options is probably the simplest, in my view.