using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading.Tasks; 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); } }