I have the following:
public enum Size
{
XXS,
XS,
S,
M,
L,
XL,
1XL,
2XL,
3XL,
4XL,
5XL,
6XL
}
The enum is for a DB and I need it to go into the DB in this format (nvarchar), I have not created this DB table.
Error 30 Type or namespace definition, or end-of-file expected
I know it is because there is a number at the beginning, is there anyway round this, other than doing a switch statement or something?
UPDATE:
This is for a Google Feed, they require the values to be provided as below, this is not our naming convention