如何获取哈希表的最后一项? [英] How can I get last item of a hashtable?

查看:99
本文介绍了如何获取哈希表的最后一项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最简单,最快捷的方式...... :)


-

Ceers,

Crirus


------------------------------

如果工作很好事情,老板会把这一切都从你这里拿走


---------------------------- -

解决方案

" Crirus" <铬**** @ datagroup.ro> schrieb

最简单,最快捷的方式...:)




哈希表中的项目是否有定义的订单?

-

Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


我不知道我认为使用默认的HashTable是可行的。虽然你可以实现自己的版本,但继承自HashTable类的

确实具有此功能。


-

Greetz,

Jan

__________________________________

阅读我的博客: http://weblogs.asp.net/jan

" Crirus" <铬**** @ datagroup.ro> schreef in bericht

新闻:uQ ************** @ TK2MSFTNGP11.phx.gbl ...

最简单,最快捷的方式。 .. :)

-
Ceers,
Crirus

----------------- -------------
如果工作是好事,老板就会把这一切都从你身上拿走

---------- --------------------



*" Crirus" <铬**** @ datagroup.ro> scripsit:

最简单,最快捷的方式...:)




为什么?哈希表中的项目顺序无关紧要。


-

Herfried K. Wagner [MVP]

< ; http://www.mvps.org/dotnet>


Easyest and fastest way... :)

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

解决方案

"Crirus" <Cr****@datagroup.ro> schrieb

Easyest and fastest way... :)



Do the items in a hashtable have a defined order?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


I don''t think this is possible using the default HashTable. Although you
could implement your own version, inherited from the HashTable class that
does has this functionality.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Crirus" <Cr****@datagroup.ro> schreef in bericht
news:uQ**************@TK2MSFTNGP11.phx.gbl...

Easyest and fastest way... :)

--
Ceers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------



* "Crirus" <Cr****@datagroup.ro> scripsit:

Easyest and fastest way... :)



Why? The order ot the items in a hashtable does not matter.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


这篇关于如何获取哈希表的最后一项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆