I am trying to define an enumerator
for UserAgents
.
Something like,
private enum UserAgents
{
"MSIE 7.0",
"MSIE 6.0",
"MSIE 5.0",
}
But the compiler is not happy with this
.
Any ideas why?
EDIT: I also tried like escaping using a verbatim literal @
and a '\' but that does not do the job.