Code generation can be an effective tool for strongly-typing your custom domains if the given domain is constrained to a specific set of values. Acceptable examples would include color names, statuses, and U.S. states, among several others.

In some scenarios it is completely redundant to do so, for example, if you are strongly-typing the alphabet:

public class ClassTypeLetters
{
    private const string ClassTypeA = "A";
    private const string ClassTypeB = "B";
    private const string ClassTypeC = "C";
    private const string ClassTypeD = "D";
    private const string ClassTypeE = "E";
    private const string ClassTypeF = "F";
    private const string ClassTypeG = "G";
    // H-W...
    private const string ClassTypeX = "X";
    private const string ClassTypeY = "Y";
    private const string ClassTypeZ = "Z"; 
}