Cpying Dictionary to Array

  • Thread starter Thread starter Luigi
  • Start date Start date
L

Luigi

Hi all,
having a Dictionary like this:

Dictionary<string, string[]>

how can a get an array passing the string key to this dictionary?
I'm using C# 2.0.

Thanks in advance.
 
Luigi said:
having a Dictionary like this:

Dictionary<string, string[]>

how can a get an array passing the string key to this dictionary?
I'm using C# 2.0.

Like this:

string[] result = myDictionary[key];
 
Back
Top