Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

need help retrieving values from a Dictionary collection

I am maintaining some VB.net code that uses key value pairs. Below is a simple example. What I need to know is how to access some of the values. See the example below.
Three values are added to the collection. So how can I iterate through the collection and retrieve the values "Canada", "Switzerland","Ireland"?

Dim objCollection As New Dictionary(Of String, String())
objCollection.Add("p1",{"Canada","int","INPUT","4"})

objCollection.Add("p1",{"Switzerland","int","INPUT","4"})

objCollection.Add("p1",{"Ireland","int","INPUT","4"})
EXPERT CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
EXPERT CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brgdotnet

ASKER

Awesome help from Awesome experts. Thanks so much.