How to reassign values to Dictionary?

 Posted by Rajesh_Kumar on 1/17/2014 | Category: ASP.NET Interview questions | Views: 636 | Points: 40
Answer:

Dim dict As New Dictionary(Of String, Integer)

dict.Add("1", 100)
dict.Add("2", 200)

dict("2") = 300


dictionary key "1" have 2 values 100,300


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response