如何创建一个唯一ID和服务器日期时间的哈希键组合。 [英] How to create a hash key combination of one unique id and server date time.
本文介绍了如何创建一个唯一ID和服务器日期时间的哈希键组合。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请建议我并提供任何示例代码。
Please suggest me and provide any sample code.
推荐答案
以下是如何创建哈希的示例,
http://msdn.microsoft.com/en -us / library / w1t5hx6k(v = vs.90).aspx [ ^ ]
Here is an example of how to create a hash,
http://msdn.microsoft.com/en-us/library/w1t5hx6k(v=vs.90).aspx[^]
你的意思是哈希表.....
you mean hash Table.....
Hashtable hshcolor = new Hashtable();
hshcolor["1"] = "Red";
hshcolor["2"]= "Green";
hshcolor["3"] = "Orange";
hshcolor["4"] = "Blue";
hshcolor["5"] = "Grey";
hshcolor["6"] = "Black";
这篇关于如何创建一个唯一ID和服务器日期时间的哈希键组合。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文