Hey Freddy,
Thanks for the idea. In this case, I'm just looking for the shortcut
version of:
if (MyDay == DayOfWeek.Saturday || MyDay == DayOfWeek.Sunday)
like
if (MyDay in(DayOfWeek.Saturday, DayOfWeek.Sunday))
Not a big deal, just wondering if I was missing any such feature.
- John
"Freddy" <Fr****@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
It depend what you want to do: you can fill a Dictionary and call a
Dictionary.Contains("text to find")