Public paste
linq
By: dsf | Date: Aug 28 2009 18:01 | Format: None | Expires: never | Size: 212 B | Hits: 933

  1. collection.OrderBy(element => DateTime.Parse(datetime));
  2.  
  3. var blah = from element in collection
  4.                                 orderby DateTime.Parse(datetime)
  5.                                 select element;