Updating UI in multithreading environment is always pain in mind. I have to write code every time to update UI. Fortunately i have found a solution so i am sharing this code
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 a project, I need to convert array of chars to string, I shocked to use function which return instead of actual string.