RandomExtensionsNextRune(Random, UnicodeCategory) Method
Returns a random
Rune (Unicode character) that is within the specified
category.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public static Rune NextRune(
this Random random,
UnicodeCategory category
)
<ExtensionAttribute>
Public Shared Function NextRune (
random As Random,
category As UnicodeCategory
) As Rune
public:
[ExtensionAttribute]
static Rune NextRune(
Random^ random,
UnicodeCategory category
)
[<ExtensionAttribute>]
static member NextRune :
random : Random *
category : UnicodeCategory -> Rune
- random Random
- The Random instance to use.
- category UnicodeCategory
- The category of the character to be returned.
RuneA
Rune (Unicode character) that is greater that is within the specified
category.In Visual Basic and C#, you can call this method as an instance method on any object of type
Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).