2012年2月9日

C# 生成唯一值函数

摘要: source :http://hi.baidu.com/lwlfox/blog/item/ee221b245a0f3c3ac9955927.htmlC# 生成唯一值函数private string getGUID() { System.Guid guid = new Guid(); guid = Guid.NewGuid(); string str = guid.ToString(); return str; }随机生成如下字符串: e92b8e30-a6e5-41f6-a6b9-188230a23dd2格式说明:System... 阅读全文

posted @ 2012-02-09 10:47 雨渐渐 阅读(1072) 评论(0) 推荐(0)

导航