2011-12-10 12 views

Respuesta

13

Su System.Collections.Generic.Dictionary<,>
Para configurar un objeto (como setObject:forKey:) que utilice:

Dictionary[Key] = Object; 

para obtener un objeto (como objectForKey:) que utilice:

var Object = Dictionary[Key]; 
1

También puede utilizar el HashTable Clase:

Ejemplo:

HashTable dict = new HashTable(); 

dict.Add("key", object); 
Cuestiones relacionadas