Shawn's Technical Blog
Sign in
|
Join
Home
Contact
RSS
Atom
Comments RSS
Search
Tags
.Net
AJAX
ASP.Net
C#
General Software Development
MS Expression
Social Networking
Visual Studio
WebLogs - Tips And Tricks
Sponsors
advertise here
Navigation
Home
Blogs
Archives
June 2010 (1)
April 2010 (2)
September 2009 (1)
August 2009 (2)
April 2009 (1)
March 2009 (1)
February 2009 (1)
March 2009 - Posts
17
Comments
Random Number in C#, Be careful of some of the samples you find.
by
smehaffie
I recently came across this code on the internet for generating a random number with C#. 1: private static int RandomNumber( int min, int max) 2: { 3: Random random = new Random(); 4: return random.Next(min, max); 5: } The problem with this code is that...
Filed under:
C#
,
.Net
More Posts