2
votes
votes
1 answers
If I have a string, how can I convert it to an enumeration?
If I have an enumeration like: [code] public enum UserType { Anonymous = 1, Registered = 2, Pro = 3 } [/code] And say I have a string: [code] string myType = "Registered"; [/code] Would it ...
