Mega Code Archive

 
Categories / VB.Net / Data Structure
 

Add some elements to the dictionary There are no duplicate keys, but some of the values are duplicates

Imports System Imports System.Collections.Generic Public Class Example     Public Shared Sub Main()          Dim openWith As New Dictionary(Of String, String)         openWith.Add("A", "a")         openWith.Add("B", "b")         openWith.Add("C", "c")         openWith.Add("D", "d")     End Sub End Class