associative arrays is c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how can i set an associative array and how can i get both value and index
in'a variable... with are both string ???
 
sadun said:
how can i set an associative array and how can i get both value and index
in'a variable... with are both string ???

Check out System.Collections.HashTable.

If they're always both strings, you might want to check out
System.Collections.Specialized.NameValueCollection since it's a little
easier to work with if you can be sure both key and value are string.

-Chad
 
Back
Top