Results 1 to 10 of 23
Threaded View
-
21st Jun 2010, 09:01 PM #13The Wise OneWebsite's:
twilight.ws ddlrank.comDecided to give this a go
The code:
PHP Code:using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace KWWH_RandomNumberGenerator
{
class Program
{
static Stopwatch sw = new Stopwatch();
static Random rnd = new Random();
static void Main(string[] args)
{
sw.Start();
for (int i = 0; i <= 10000000; i++)
{
getRand();
}
Console.WriteLine(sw.Elapsed.ToString() + " - Whoo");
Console.ReadLine();
}
private static void getRand()
{
int lol = ((rnd.Next() * 1103515245) + 12345) & 0x7fffffff;
}
}
}
I can always be contacted by sending a tweet @twilightws
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
A Google +-challenge?
By Daniel in forum General DiscussionReplies: 2Last Post: 17th Jul 2011, 08:30 PM -
Challenge to GFX Genius !
By softleaks in forum Graphics AreaReplies: 21Last Post: 28th May 2011, 09:01 AM -
[c#] CHALLENGE - Beat the time!
By jayfella in forum Web Development AreaReplies: 18Last Post: 24th Jun 2010, 07:38 PM -
I Challenge U ALL
By Chief-Editor in forum General DiscussionReplies: 19Last Post: 2nd Mar 2010, 08:46 AM
themaCreator - create posts from...
Version 3.46 released. Open older version (or...