Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
How to use Dictionary in c# to store values and retrieve it?
Posted

 
Share this answer
 
v2
Comments
Joezer BH 18-Feb-13 2:21am    
5+
Rajeev Jayaram 18-Feb-13 18:54pm    
Thanks
 
Share this answer
 
Comments
walterhevedeich 7-Mar-12 2:28am    
Have my 5. Beat me by a few seconds. :)
Abhinav S 7-Mar-12 2:30am    
Thank you.
Joezer BH 18-Feb-13 2:21am    
5+
Abhinav S 18-Feb-13 3:17am    
Thank you.
You can always refer to MSDN's documentations if you're not familiar with the objects that you are using. See here.

http://msdn.microsoft.com/en-us/library/xfhwa508.aspx[^]
 
Share this answer
 
Comments
Abhinav S 7-Mar-12 2:30am    
My 5.
Joezer BH 18-Feb-13 2:21am    
5+
walterhevedeich 23-Feb-13 0:08am    
Thanks
use Dictionary<string,> dictionary = new Dictionary<string,>();
 
Share this answer
 
Comments
johannesnestler 7-Mar-12 2:43am    
come on - people asking such questions can not handle wrong syntax... a clear vote of 1 - sorry

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900