D
Donal McWeeney
Hi,
I have a quick question on a design approach using enums - based on the
model of something like the HtmlTextWriterTag enum. I presume that what the
text writer does is use the Enum.GetName method to convert the enum value to
its corresponding tag string.
My question is, which is better and less overhead - using this enum approach
or declare a sealed class of string constants.
Thanks
Donal
I have a quick question on a design approach using enums - based on the
model of something like the HtmlTextWriterTag enum. I presume that what the
text writer does is use the Enum.GetName method to convert the enum value to
its corresponding tag string.
My question is, which is better and less overhead - using this enum approach
or declare a sealed class of string constants.
Thanks
Donal