Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SortExample
- {
- public int IntField {get; set;}
- public string StringField {get; set;}
- public DateTime DateField {get; set;}
- }
- public void SortExampleMethod(string sortExpression)
- {
- List<SortExample> list = new List<SortExample>();
- list.OrderBy(sortExpression);
- }
Add Comment
Please, Sign In to add comment