public enum EnumInt
{
INTVAL0 = 0,
INTVAL1 = 1
}
but i also want to do
public enum EnumStr
{
STRVAL0 = "Jack",
STRVAL1 = "Jill"
}
the compilation fails complaining "Cannot implicitly convert type 'string' to 'int'".
is there a workaround ?
thx,
- a -

New Topic/Question
Reply




MultiQuote





|