Im using C#3.0 and in my book of words it tells me that when I use the
[Flags] I should be able to call ToString() on a combined enumeration and
have it emit a series of strings.
IE
[Flags]
public enum myEnum
{
left =1,
right=2,
leftright = left | right
}
console.write ( myEnum.toString() ) // I Get LeftRight, when my book says I
should get "left, right"
Is the book incorrect ?
Cheers