Click or drag to resize
StaticRandom Class
Class that provides Random generator from thread local storage. This class is preferred to use, because Random class is not thread-safe.
Inheritance Hierarchy
SystemObject
  CMS.OnlineMarketing.InternalStaticRandom

Namespace: CMS.OnlineMarketing.Internal
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax
C#
public class StaticRandom

The StaticRandom type exposes the following members.

Constructors
  NameDescription
Public methodStaticRandom
Top
Methods
  NameDescription
Public methodStatic memberNext(Int32)
Returns a nonnegative random number less than the specified maximum.
Public methodStatic memberNext(Int32, Int32)
Returns a random number within a specified range.
Top
See Also