Is there a tree for that? - C#