This is one of the reasons why I love LINQ, its so easy to do something like randomise a list in just one line that used to take a few lines. The only thing you need to remember with this
Get the associated application for a file extension
Sometimes its necessary for us to identify what application is associated with a particular file extension, the following snippet of code will read the Windows registry to identify what application a particular file extension is opened with by default.
Getting an applications Icon
This is one of those pieces of code that you spend ages trying to find/figure out but once you do get it, it is annoyingly simple. I recently needed to get the Icon that was being used as the application