blah blah blah is here! blah blah » Close

2
votes
1 answers

If I have a string, how can I convert it to an enumeration?

Rick_A
761

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 ...

Feedback