C# Класс InteropApiTests.Any

Generate arbitrary (random) values
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BytesOfLength ( int numBytes ) : byte[]

Gets a random array of bytes of the specified length.

StringOfLength ( int numChars ) : string

Gets a random string of the specified length.

Описание методов

BytesOfLength() публичный статический Метод

Gets a random array of bytes of the specified length.
public static BytesOfLength ( int numBytes ) : byte[]
numBytes int Number of bytes to be returned.
Результат byte[]

StringOfLength() публичный статический Метод

Gets a random string of the specified length.
public static StringOfLength ( int numChars ) : string
numChars int Number of chars to be in the string.
Результат string