KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have this class: public class StatInfo { public string contact; public DateTime date; public string action; } then I have a list of StatInfo, but I'm not sure how to sort it according to the date field. Should I use the sort method? Should I create my own? var _allStatInfo = new List<StatInfo>(); // adding lots of stuff in it _allStatInfo.SortByDate??? What is the best way of doing this without having to write tons of code (if possible)? Thanks
Tags (comma-separated)
Save Edits
Cancel