Wednesday, October 20, 2004

Enums and Performance

Enumerations provide a convenient way to work with sets of related constants and to associate constant values with names. It is a is a special form of value type, which inherits from System.Enum and supplies alternate names for the values of an underlying primitive type.

While doing some study on this area I came across this interesting post that speaks about Enums and its performance implications by Wesner Moise. Until I read the article I didn't have the least idea that an enum would have performance implications.

No comments: