Skip to main content
All docs
V24.2

NonCryptographicRandom.NextString(Int32) Method

Generates a random alphanumeric string of the specified length.

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

Declaration

public string NextString(
    int length = 8
)

Optional Parameters

Name Type Default Description
length Int32 8

The number of characters in the string.

Returns

Type Description
String

A string of random characters from A-Z, a-z, and 0-9.

See Also