HashTable keys遍历两个snippets
1.
Dim hashTab As New Hashtable
For Each keyString As String In hashTab.Keys
Console.WriteLine(keyString)
Next
2.
Dim arCollect As IDictionaryEnumerator = hashTab.GetEnumerator
While arCollect.MoveNext
Console.WriteLine(arCollect.Key)
End While