FolderCollectionReverse Method
Reverses the order of the list of the folders that are stored in the collection.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public void Reverse()
Remarks
For instance, this method can be used to optimize deleting of folders with their subfolders. Because it's not usually permitted to delete a folder which contains subfolders, these subfolders must be removed first. However, mail servers usually place subfolders after their parent folders in the returned folder list. Thus, it's more efficient to iterate through this collection in descending order, removing subfolders first and their parent folders last. See DeleteFolder(String) topic for the sample code.
See Also