G
Guest
I’m looking for a way to create a generic dictionary of generic dictionaries
grouped by type. Something like this
Class the Grouping ChildItem<T>{…}
Class ParentGrouping {
Dictionary<Type, ChildItem <theGrouppingItemtype>> myDimDict;
}
So I would access it like this
ParentGrouping[System.string, “myitemKeyâ€] = “new valueâ€;
OR
ParentGrouping[System.Drawing.Point, “myitemKeyâ€] = new
System.Drawing.Point(0,0);
Any ideas?
grouped by type. Something like this
Class the Grouping ChildItem<T>{…}
Class ParentGrouping {
Dictionary<Type, ChildItem <theGrouppingItemtype>> myDimDict;
}
So I would access it like this
ParentGrouping[System.string, “myitemKeyâ€] = “new valueâ€;
OR
ParentGrouping[System.Drawing.Point, “myitemKeyâ€] = new
System.Drawing.Point(0,0);
Any ideas?