Sign in | Join
Last post 07-08-2009 2:33 AM by nijhawan.saurabh. 1 replies.
Sort Posts: Oldest to newest Newest to oldest
Using Enum.Parse you can convert the any string to enum
example:
private enum Aircraft{ A, V, C}
Aircraft air = (Aircraft) Enum.Parse(typeof(Aircraft), "C", true);
Cool trick thx!