RandomHelper Methods

HD.Common

RandomHelper Methods Helper帮助文档

The RandomHelper type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateCheckCode
随机生成不重复字符串(数字和字母混和)
Public method GenerateCheckCodeNum
随机生成不重复数字字符串
Public method GetHashCode (Inherited from Object.)
Public method Static member GetRandomArrayT
对一个数组进行随机排序
Public method Static member GetRandomDouble
生成一个0.0到1.0的随机小数
Public method Static member GetRandomInt
生成一个指定范围的随机整数,该随机数范围包括最小值,但不包括最大值
Public method Static member GetRandomString
产生随机字符串(数字和字母混和)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
See Also

Reference