Once again, the data structures and algorithms class I took in school nearly two years ago is proving its worth in real-life industry. For the task I am currently working on, I am creating a list of trees of associated data. After setting up this data structure I flatten the data into a single list using .SelectMany() for a nicely formatted output.