NamespaceSystemLibrary.Common.Net
Shortcut for generating random variables through System.Random
Randomness
public static class Randomness
Inheritance
System.Object
Randomness
Shortcut for generating random variables through System.Random
Generate a random Byte array
Type | Name | Description |
---|---|---|
System.Int32 | length |
Type | Description |
---|---|
System.Byte[] | Byte array filled with random int's |
Generate a random Integer
Type | Name | Description |
---|---|---|
System.Int32 | maxValue |
Type | Description |
---|---|
System.Int32 | Integer >= 0 |
Generate a random Integer
Type | Name | Description |
---|---|---|
System.Int32 | minValue | |
System.Int32 | maxValue |
Type | Description |
---|---|
System.Int32 | Integer >= 0 |
Generate a random string
Type | Name | Description |
---|---|---|
System.Int32 | length |
Type | Description |
---|---|
System.String | Returns a string of length |
}