public static TreeNode GetNodeCommentByAuthor(this IEnumerable<TreeNode> nodes, string author) { return nodes.Single(x => (x.Tag as Comment).Author == author); }