Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class Example
  2. {
  3. public string X { get; set; }
  4. public string Y { get; set; }
  5. public string W { get; set; }
  6. public string H { get; set; }
  7. public string A { get; set; }
  8. }
  9.  
  10. IEnumerable<Example> exampleCollection
  11.  
  12. exampleCollection = exampleCollection.OrderBy(e => e.Y).ThenBy(e => e.A);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement