GetRandomNumber

public static int GetRandomNumber(this int source) {
  return 4; //chosen by fair dice roll, 
            //guaranteed to be random
}
Example:
var random = int.GetRandomNumber();

Description

Generates a random number

Details

Double click on the code to select all.

 

;