摘要: public class TreeNode<T> { public TreeNode() { Children = new List<TreeNode<T>>(); } public void AddChild(TreeNode<T> item) { item.Parent = this; Children.Add(item); } public List<TreeNode<T>> Children { get; set; } public TreeNode... 阅读全文
posted @ 2013-05-14 18:20 chunchill 阅读(227) 评论(0) 推荐(0) 编辑