I have a class that I wrote in C# which has several properties, including a list of the same class that I created. What I'm trying to do is pull out data from a cache and store it as a list of my class. The problem arises in that there is a relationship between the root nodes and child nodes (lets call it "id"). I'm basically trying to mimic a relationship between two datatables using a key, but I can't figure out how to do that with classes. Can anyone help me out? Thanks in advance.