DateComparerDescending ClassCleanCode C# Libraries v1.2.03 API
An OnlineIComparer for sorting files by descending date.
Inheritance Hierarchy

OnlineSystem Object
  CleanCode.IO DateComparerDescending

Namespace: CleanCode.IO
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public class DateComparerDescending : IComparer

This is an implementation of an OnlineIComparer (to be passed to OnlineSort(Array) for example). It compares OnlineFileSystemInfo objects on the modification date property (LastWriteTime), sorting by latest date first. Adapted from NET Sorting files by Date by John Batdorf (original link,date,2006-01-30.aspx no longer exists).

Since CleanCode 0.9.08.

See Also