Sort a generic List by a property of the objects in C#

Published: 30 December 2022
on channel: Everything C#
5,493
117

You can sort a list in-place or use LINQ to sort and return a fresh list. Both approaches are demonstrated in this video.

C# Answers provides answers to common questions about the C# language and the related .NET system. Do you have a programming question about C# or .NET that you would like answered?

Add it as a comment below and I try to answer them all!

GitHub: https://github.com/ComponentFactory/C...


Watch video Sort a generic List by a property of the objects in C# online without registration, duration hours minute second in high quality. This video was added by user Everything C# 30 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,49 once and liked it 11 people.