Click or drag to resize
StringHelperToRandom Method (String, Int32)
取得一个随机的字符串

Namespace: X3Platform.Util
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static string ToRandom(
	string chars,
	int length
)

Parameters

chars
Type: SystemString

[Missing <param name="chars"/> documentation for "M:X3Platform.Util.StringHelper.ToRandom(System.String,System.Int32)"]

length
Type: SystemInt32

[Missing <param name="length"/> documentation for "M:X3Platform.Util.StringHelper.ToRandom(System.String,System.Int32)"]

Return Value

Type: String
长为length的随机的字符串
See Also