The Cyotek Development Blog has moved - please find it at

Although these pages remain accessible, some content may not display correctly in future as the new blog evolves.


Enums are useful language features. But what happens when you want to display a string version of an enum member rather than just casting the member to a string? You could manually create a switch statement for conversion, and periodically update such functions when extending the source enum. Or you could use the power of reflection and attributes to do it automatically.

Continue Reading