static NameCache() { Names = Enum.GetNames(typeof(T)); ReadOnlyNames = new ReadOnlyArray <string>(Names); }
static ValueCache() { Values = (T[])Enum.GetValues(typeof(T)); ReadOnlyValues = new ReadOnlyArray <T>(Values); }