using System.Collections.Generic; namespace AsbCloudApp { public class Tree : Dictionary> { public Tree() { } public Tree(T key, Tree node = null) { Add(key, node); } public Tree(Tree other) : base(other) { } public Tree(IEnumerable keys) { foreach (var key in keys) Add(key); } public void Add(T key) => Add(key, null); } }