Following is small snippet which is the implementation of Fisher–Yates shuffle in csharp. This is generic extension method so we can use it for any type of list.
Previously while working on Online Razor Editor I need to use IFrame for page preview, since code and preview are in separate tabs, so I decided to reload iframe contents on tab shown event. Now problem was how I can do this from client side using jquery?
This is modified and compact code of original solution.