Alex Rivera | Logout

C# Dictionary, 2 Values

Asked 2010-04-19T14:33:20.620
13

What would be the best C# data structure for using one key, and having two values pulled out?

Essentially I need a Dictionary<string, string, string>. Is there something like this?

Edit
Report

1 Answer

7
class A {
  public string X, Y;
}

Dictionary<string, A> data;
answered 2010-04-19T14:35:23.220

Your Answer