I want to store values as key,value,value pair. My data is of type
Key -> int & both values -> ulong,
How to initialize & fetch values of such dictionary. I am using VS-2005.
If i use a class or struct then how do i fetch the values.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a structure to store your values:
Dictionary initialization:
Maybe List is enough, if you use int as key?
List:
ValuePaircan be added to thelistas following: