Generic container

lurker lurker at mailinator.com
Sat May 8 14:52:09 PDT 2010


Hello, first time visiting the newsgroup.

I see in the manual that you can create built-in dictionaries like so:

int[string] foo;

Do you know of a way to store any value in a dictionary? In C# I can do
something like this:

Dictionary<string, object> foo;

I need a dictionary that can store any value, indexed by string.

Thanks


More information about the Digitalmars-d-learn mailing list