[Mono-bugs] [Bug 61399][Cos] New - Spelling mistakes in System.Random class
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 11 Jul 2004 09:11:52 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by olau@hardworking.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=61399
--- shadow/61399 2004-07-11 09:11:52.000000000 -0400
+++ shadow/61399.tmp.11730 2004-07-11 09:11:52.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 61399
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Cosmetic
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: olau@hardworking.dk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Spelling mistakes in System.Random class
+
+The System.Random class consistently says that it is producing
+psuedo-random numbers. I suspect it is really generating pseudo-random
+(with 'pseu' instead of 'psue') numbers.
+
+
+BTW, there's no example for that class. Here's a simple one:
+
+using System;
+
+class RandomTest
+{
+ void Test()
+ {
+ Random random = new Random();
+
+ // play heads or tails ten times with a fair coin
+ for (int i = 0; i < 10; ++i)
+ if (random.NextDouble() < 0.5)
+ Console.WriteLine("Head!");
+ else
+ Console.WriteLine("Tails!");
+ }
+}