Mega Code Archive

 
Categories / VB.Net / Data Structure
 

Create a Hashtable using the default hash code provider and the default comparer

Imports System Imports System.Collections Imports System.Globalization Public Class SamplesHashtable    Public Shared Sub Main()       Dim myHT1 As New Hashtable()       myHT1.Add("FIRST", "Hello")       myHT1.Add("SECOND", "World")       myHT1.Add("THIRD", "!")    End Sub End Class