Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void SortProducts()
- {
- this.products = this.Products.OrderBy(x => x.Brand)
- .ThenBy(x => x.Price).ToList();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement