How to convert Hash-Table into Array-List in Asp.net with Vb.net

Ranjeet_8
Posted by Ranjeet_8 under VB.NET category on | Points: 40 | Views : 2753

Imports System.Collections
Public Shared Function ConvertHashTableToArrayList(hsh As Hashtable) As ArrayList
Dim alist As New ArrayList()
For Each key As Integer In hsh.Keys
alist.Add(hsh(key))
Next
Return alist
End Function

Comments or Responses

Login to post response