C preprocessor &quot;abuse&quot; to create reflective enums: <a href="http:&#x2F;&#x2F;www.codeproject.com&#x2F;Articles&#x2F;1002895&#x2F;Clean-Reflective-Enums-Enum-to-String-with-Nice-Sy" rel="nofollow">http:&#x2F;&#x2F;www.codeproject.com&#x2F;Articles&#x2F;1002895&#x2F;Clean-Reflective...</a>