I have a survey that's stored in a large object graph of variable depth, depending on how many sections and sub-sections the user chooses to create. I need to be able to search through all the properties for each object in the object graph and see if that property's .ToString()
contains a certain keyword that's being searched for.
Can I use LINQ to accomplish this, or do I have to use reflection and loops? The goal is to be able to say something like "Find me all objects in this object graph where one (or more) of its properties contains the substring test
".