请问在哪可以找到关于HashTable和Collection的资料啊?

请问在哪可以找到关于HashTable和Collection的资料啊?最好是哪种带例子的!
[45 byte] By [liangzai6640459-亮仔] at [2008-2-16]
# 1
SDK,MSDN,Codefund
Sunmast-速马@Redmond,WA at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 2
这个问题我也考虑了很长时间了,还是没有找到答案...不过楼主可以到: http://www-900.ibm.com/developerWorks/cn/java/index.shtml 看看,上面也许你您想要的东西!...要是您找到了答案.请告诉我一下...关注中...
# 3
我是想要一些介绍性的东西就可以了!细节我会查找msdn的!
liangzai6640459-亮仔 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 4
最好的地方就是帮助系统、SDK,最全的地方是MSDN,最简单的地方是Codefund(因为可以等着答案而不用查找)
triout-笨牛 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 5
我在MSDN上找的感觉看的不太明白
lonelydreamsym-惊梦 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 6
MSDN讲的还是很清楚的。

顺便写几行:

Dim ht As New Hashtable(10)

ht.Add("tb1", Me.TextBox1) '添加键值
' "tb1"是键,TextBox1是值,字符串"tb1"和TextBox1控件就
'知道了键"tb1"就可以得到对应的值-TextBox1控件

ht.Add("tb2", Me.TextBox2)
ht.Add(3, Me.TextBox3)
ht.Add(Me.TextBox1, Me.Button1)
'键和值可以是任何数据类型,

Dim tb As TextBox

For Each de As DictionaryEntry In ht
'循环hash表包含的每个键值对
MsgBox(de.Key.GetType().Name & ControlChars.CrLf & Convert.ToString(de.Key))
If de.Value.GetType.Name = "TextBox" Then
tb = CType(de.Value, TextBox)
tb.Text = Now.ToString()
End If

Next

'获取hashtable中的值
If ht.Contains("tb1") Then
'hash表中包含"tb1"的键
tb = ht.Item("tb1")
tb.Text = "hello"
Else
'hash表中不包含"tb1"的键
MsgBox("没有键 tb1")
End If

If ht.Contains("tb4") Then
'hash表中包含"tb4"的键
tb = ht.Item("tb4")
tb.Text = "hello"
Else
'hash表中不包含"tb4"的键
MsgBox("没有键 tb4")
End If

CType(ht.Item(TextBox1), Button).ForeColor = Color.Red

'所以很多地方用hashTable很方便
AntingZ-夕惕若 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 7
顶,我喜欢!
# 8
MSDN!
如果你编程不用MSDN
就好像如厕未带手纸!
shengrong_cai-95至尊 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...
# 9
上面的比偷虽然相似..但也太...呵呵...
ekinwt-沧海依粟 at 2007-10-26 > top of Msdn China Tech,.NET技术,VB.NET...