Some ways to tame magical strings in .NET and C#

added by DotNetKicks
3/7/2017 10:49:21 AM

2 Kicks, 314 Views

We have all seen them. The strings lying around here and there in the code base. Some times at least exposed as constants in the class. But what else can you do? Well, you can have things like dedicated constant classes or key masters or value-objects or just allow the