Comments on: Shuffling lists in C# – an extensionmethod http://xnafan.net/2013/01/shuffling-lists-in-c-an-extensionmethod/ XNA tutorials, code and games Fri, 10 Aug 2018 04:55:21 +0000 hourly 1 https://wordpress.org/?v=4.2.22 By: admin http://xnafan.net/2013/01/shuffling-lists-in-c-an-extensionmethod/comment-page-1/#comment-135279 Sun, 01 Jun 2014 19:33:33 +0000 http://xnafan.net/?p=739#comment-135279 Very nice - thanks for sharing! :)

]]>
By: Michael Johnson http://xnafan.net/2013/01/shuffling-lists-in-c-an-extensionmethod/comment-page-1/#comment-134709 Sat, 31 May 2014 10:39:52 +0000 http://xnafan.net/?p=739#comment-134709 I came across this very simple way of accomplishing this task awhile back and felt I should share.
It too will work with any list.

if (myList.Count >=1)
myList = myList.OrderBy(c => Guid.NewGuid()).ToList();

]]>
By: admin http://xnafan.net/2013/01/shuffling-lists-in-c-an-extensionmethod/comment-page-1/#comment-104282 Mon, 17 Mar 2014 06:59:42 +0000 http://xnafan.net/?p=739#comment-104282 Great to hear it!
Thanks for your feedback :)

/Jakob

]]>
By: Nuthan http://xnafan.net/2013/01/shuffling-lists-in-c-an-extensionmethod/comment-page-1/#comment-104281 Mon, 17 Mar 2014 06:56:46 +0000 http://xnafan.net/?p=739#comment-104281 Hello,

Your List Shuffler class helped me a lot. Thanks for sharing the code.

Regards,
Nuthan Gowda

]]>