I don’t know why I didn’t do this long ago, but I am done writing this: var val = (SomeEnum)Enum.Parse(typeof(SomeEnum),”someString”);
I have typed this too many times and it annoys me.
I wrote a small extension method on the st…
I don’t know why I didn’t do this long ago, but I am done writing this: var val = (SomeEnum)Enum.Parse(typeof(SomeEnum),”someString”);
I have typed this too many times and it annoys me.
I wrote a small extension method on the st…