blah blah blah is here! blah blah » Close

0
votes
0 answers

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 ...

1
votes
1 answers

How can I sort a Dictionary<int, User> collection by a property in the class

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?

1
votes
2 answers

Sorting a list collection by name

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?

Feedback