I have a method that lists all directories in a given folder... using foreach:
foreach (UnifiedDirectory subDirectory in directory.Directories)
I would like to be able to reverse the order (they are now automatically listed in alphabetic order - the way they are ordered in the filemanager)... Is this possible in some kind of easy way to reverse the order (descending - with a UnifiedDirectory)?
Not sure, but maybe you could use Linq and first Cast the Directories and the just do a Reverse?
Great! It works perfectly... Many thanks!