J Jochen Kalmbach Sep 1, 2004 #2 Roger said: Is there a method I can call to generate a random number? Click to expand... System.Random r = new Random(); int random = r.Next(); -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
Roger said: Is there a method I can call to generate a random number? Click to expand... System.Random r = new Random(); int random = r.Next(); -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
M Mike Kitchen Sep 3, 2004 #4 I have a little example program which explains random number on my web site with a link at the bottom of the page to the place on the msdn site also. http://www.publicjoe.f9.co.uk/csharp/dice01.html Hope this helps Publicjoe C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html
I have a little example program which explains random number on my web site with a link at the bottom of the page to the place on the msdn site also. http://www.publicjoe.f9.co.uk/csharp/dice01.html Hope this helps Publicjoe C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html C# Snippets at http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html