Click here to Skip to main content
15,895,777 members
Articles / Programming Languages / C#

Adding Random Functionality to Generic Lists using Extension Methods

Rate me:
Please Sign up or sign in to vote.
3.40/5 (3 votes)
29 Apr 2009CPOL2 min read 24.6K   170   7  
Extends IList to include a shuffle method and a 'select an element at random' method.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Play.com
United Kingdom United Kingdom
Hi, my name's Andy Wilson and I live in Cambridge, UK where I work as a Senior C# Software Developer.

Comments and Discussions