Is there a built in node-like collection that will allow me to store information within information without building long hard to read generic declarations?
C# or VB.Net solutions would be appreciated.
For example:
dim base as new Dictionary(of String, Dictionary(of String, List(of String)))
dim mid as new Dictionary(of String, List(of String)
dim leaf as new List(of String)
leaf.add("leaf1")
leaf.add("leaf2")
mid.add("middle", leaf)
base.add("base", mid)
Logical Representation:
/ leaf
mid - leaf
/ \ leaf
base
\ / leaf
mid - leaf
\ leaf