J
Jon Skeet [C# MVP]
Ralf Rottmann (www.24100.net) said:And here is the final "correct" and clean way of doing it in LINQ (as far as
I believe):
<snip>
Looks good to me - it's the kind of thing I'd been trying to do,
although I hadn't used the cast. You might want to consider using
OrElse instead of Or if you want to match || behaviour of C#.