votes
intelligent sorting list c#
my code : [code] IEnumerable<Blob> bb = from element in bloblist let locationx = element.Rectangle.X let locationy = element.Rectangle.Y orderby locationy ascending ,locationx descending select element; fore ...
blah blah blah is here! blah blah » Close
my code : [code] IEnumerable<Blob> bb = from element in bloblist let locationx = element.Rectangle.X let locationy = element.Rectangle.Y orderby locationy ascending ,locationx descending select element; fore ...
I have a collection of type: [code]Dictionary<int, User>[/code] And I want to sort by alphabetically ordering by the 'Name' property of the User object. How can I do this?
I need to sort a List<Article> collection by name, where name is article.Subject Can I do this inline somehow or do I have to supply the articles.Sort(); method some kind of fancy delegate?
Got feedack? Found a bug? report it here.