I am creating an enumeration that is very similar to the DayNameFormat
enumeration. The 5 members I want are None, Full, Short, FirstLetter, and
FirstTwoLetters. Because Short is a VB.NET keyword, I am recieving an error
when creating the enumeration. My code is currently as follows:
Public Enum DayNameStyle
None
Full
Short
FirstLetter
FirstTwoLetters
End Enum
I know that there must be some way to avoid this error (they must have done
it somehow when creating DayNameFormat, and I am assuming the VB.NET
creators must have thought of this when creating VB.NET. Any ideas? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/