/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static T StringToEnum<T>(string name) { }
URL: http://www.switchonthecode.com/tutorials/csharp-snippet-tutorial-how-to-get-an-enum-from-a-string