RandomHelper Methods | Helper帮助文档 |
The RandomHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GenerateCheckCode |
随机生成不重复字符串(数字和字母混和)
|
![]() |
GenerateCheckCodeNum |
随机生成不重复数字字符串
|
![]() |
GetHashCode | (Inherited from Object.) |
![]() ![]() |
GetRandomArrayT |
对一个数组进行随机排序
|
![]() ![]() |
GetRandomDouble |
生成一个0.0到1.0的随机小数
|
![]() ![]() |
GetRandomInt |
生成一个指定范围的随机整数,该随机数范围包括最小值,但不包括最大值
|
![]() ![]() |
GetRandomString |
产生随机字符串(数字和字母混和)
|
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
See Also