C#–Writing Enum extension methods
![](https://www.darchuk.net/wp-content/uploads/2019/01/abacus-1866497_640.jpg)
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…]