I'm trying to make something like a hashtable / sorted list?
Posted on 2004-03-20
Basically I'm curious how to make something like the DataSet structure where I can call DataSet.Tables or DataSet.Table["maintable"].
I want to load in an array of a custom structure, and be able to reference each structure by their index # or a value as above.
From there I want to do say.. (custom.somestring and custom.myarray) or (custom["mystring"].somestring custom["mystring"].mrarray).
the structure might look something like this for example:
Would Using a hash table to reference another hashtable/sortedlist be the only way to come about this solution, or is there an easier method to immitate how other object arrays in c# do it?