Click or drag to resize

RandomExtensions Class

Random class extension methods.
Inheritance Hierarchy
SystemObject
  SystemRandomExtensions

Namespace:  System
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public static class RandomExtensions

The RandomExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberNextIndex
Returns a random index into a sequence whose length is specified.
Public methodStatic memberRandomTimespan(Random, TimeSpan)
Returns a random TimeSpan between zero and a specified maximum.
Public methodStatic memberRandomTimespan(Random, TimeSpan, Double)
Returns a TimeSpan between the specified base interval plus a random period of the specified fraction of the value.
Top
See Also