Average article rating:
No articles have been posted.
Average blogs rating:
No blogs have been submitted.
Average tips rating: 4.27
Programming Languages
|
C# |
1 Sep 2011
Updated: 9 Sep 2011
Rating: 4.27/5
Votes: 9
Popularity: 4.08
Licence: CPOL
Views: 14,632
Bookmarked: 2
Downloaded: 0
Use LINQ:public IEnumerable GenerateRandomSequence(int min, int max){ var rnd = new Random(); return Enumerable.Range( min, max-min ).OrderBy( n => rnd.Next() );}You'll need a reference to System.Core to use this, and a version of .NET that supports LINQ.If you're using...
|
Average reference rating:
No reference articles have been posted.
Average project rating:
No projects have been posted.
Software Developer (Senior)
Woodland Furniture
United States
Started programming on a Commodore Vic-20 at 6 years old. Never really stopped since then. Fluent in x86 Assembly, C++ (ATL & MFC), C# (ASP.NET/WF/WPF/Silverlight), HTML, & Javascript. Really excited at the fast pace at which new technology is released.