Java.Lang.Math.Random Method
Returns a pseudo-random double n, where n >= 0.0 && n .

Syntax

[Android.Runtime.Register("random", "()D", "")]
public static double Random ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a pseudo-random double n, where n >= 0.0 && n . This method reuses a single instance of Java.Util.Random. This method is thread-safe because access to the Random is synchronized, but this harms scalability. Applications may find a performance benefit from allocating a Random for each of their threads.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1