C#–Writing Enum extension methods

Sometimes I find myself wanting a quick way to compare an enum with a list of other enums… Basically, if the enum is one of these, then do this. It’s pretty easy to do with Linq, but if you want to do it a few times in a few other places, it pays to be … [Read more…]