标签: .net hashtable key iteration
使用.NET 3.5,有没有办法从Hashtable中检索与密钥相对应的值而不进行迭代?
答案 0 :(得分:3)
var value = hashtable [key]; ?
http://www.c-sharpcorner.com/UploadFile/pradeep.tiwari/PradeepTiwariHashtable11072006072247AM/PradeepTiwariHashtable.aspx