TUQ2GTHHD6JCSWUDQE47N6LT74ERUP5G2L46BG57IPZPM7HHDERQC
F3AD6JXXPNTLIUXPX7CUPZCD53SLZFKCSSNVQDW6Q32BUIT2RNWAC
5LKTNB6ODFPX45VJBT5H34WZFJBVWWYSCS2HRMKKJPPO3M2M75NAC
UYGSVBN7QR3YK6LTBMYIHDDVZPG25MBKPN2JLFDVCY3NEEPCQBAQC
SQWPGFUETQPYAW2VZRIDZWGXQN4GCMSPHYQ4PLWMESLDJTPACGXAC
ARAFRHKULUG66WDRPKJB4GL5WCMP4LD2TRTYO3RA2T3XZDRLXEUQC
73PQOETUBJ2H5A6B3YW3KJ5C2TGOBUXXXSIVWPHCFVC5J3PNQGMQC
// See https://aka.ms/new-console-template for more information
Console.WriteLine(PseudoRandom());
// static int Random() {
// // chosen by fair dice roll; guaranteed to be random
// return 2;
// }
static int PseudoRandom() {
return new Random().Next(1, 6);
}
fossil commit -m "change Sample"
fossil commit -m "Implement random"
fossil ui
/* C-sharp */
static int BetterRandom() {
return new Random().Next(1, 6);
}
/* Java */
private static int randomThreadLocalRandom() {
return ThreadLocalRandom.current().nextInt(1, 7);
}
fossil add .
fossil commit -m "Implement a better random"