In a Linq query, if I'd want to select all properties except for a specific property, what would I do?
I can't use Select() and specify all properties except the one I don't want, because I don't know some of the properties (I query a list of abstract class).
I can't also just select all properties because that'd throw a circular reference was detected while serializing an object of type X. (I'm serializing the object to Json)
Is there any Filter() method or some extension method I can use?
Thanks.