public static char[] NextChars(
this Random random,
int length,
StringCreation strategy = StringCreation.Ascii
)
<ExtensionAttribute>
Public Shared Function NextChars (
random As Random,
length As Integer,
Optional strategy As StringCreation = StringCreation.Ascii
) As Char()
public:
[ExtensionAttribute]
static array<wchar_t>^ NextChars(
Random^ random,
int length,
StringCreation strategy = StringCreation::Ascii
)
[<ExtensionAttribute>]
static member NextChars :
random : Random *
length : int *
?strategy : StringCreation
(* Defaults:
let _strategy = defaultArg strategy StringCreation.Ascii
*)
-> char[]
ArgumentNullException | random is . |
ArgumentOutOfRangeException | length is less than 0
-or- strategy is not a valid value of StringCreation. |