摘要: 1、返回int型随机数:Guid.NewGuid().GetHashCode()2、返回正整数:Math.Abs(Guid.NewGuid().GetHashCode())3、返回固定长度的随机数Random rd = new Random(Guid.NewGuid().GetHashCode())... 阅读全文
posted @ 2014-08-22 16:50 百年俊少 阅读(646) 评论(0) 推荐(0) 编辑