link

I have a tree that I am going through and am trying to recursively retrieve lists of objects and add them to a "master" list so to speak.
Here's the line where I ask for the lists:

List<MyItem> items = GetRetractableContent();

Here's the function:
private List<MyItem> GetRetractableContent() 
{
List<MyItem> list = new List<MyItem>();

for (int i = 0; i < _contents.Count; i++)
{
list.Add(_contents[i]);
}

for (int i = 0; i < _nodes.Length; i++)
{
List<MyItem> temp = _nodes[i].GetRetractableContent();
for (int j = 0; j < temp.Count; j++)
{
list.Add(temp[j]);
}
}
return list;
}

I'm not sure if I'm doing the recursion right here. Any thoughts?