with less code?
from obj in arrayList.ToArray() where obj is not int && obj is not string && obj is not bool select obj
with this instruction
obj is not int && obj is not string && obj is not bool
You can drop the ToArray
If you select obj in the end, it's less verbose to use standard C# syntax rather than LINQ syntax
Obj is not int and not string and not bool
I use linq query only in case of join.
what types are you expecting? any reference type?
Обсуждают сегодня