Pat Mustard Pat Mustard - 8 months ago 65
C# Question

C# List of Dictionary

I want to map some C++ to C# via CLI/C++. In C++ I have a

which I thought I could represent in .Net as
. However, this gives me errors.

List<Dictionary<String,String>> // is not a valid generic argument

Is there a standard alternative?

Note I'm implementing this in CLI/C++.


It turns out that I need to pass handles to generic containers:

List<Dictionary<String^, String^>^>^ list_of_dict_of_string;

Thanks, all.