Manuel Guilbault's Blog

Hard-coded IDs suck, and enums won't help

Sometimes an application requires that some features are enabled (or rules applied), or not, based on some context. What is the best way to solve such a problem? Hard-coded IDs… Hard-coded IDs everywhere… A C# app I was working on for a worldwide company was used in many countries. Of course, each country had specific features that were enab... Read more

#CSharp #Design