Sorting list<t> the easy way using lambda expressions(nirandas.com)
submitted by
redcap(420) 3 years, 5 months ago
Introduction of lambda expressions in .NET 3.5 have simplified many operations. One of them is sorting List<t> of complex types. For example assume
that we have a type named Person and it has a Name property among other properties. Now if we want to sort a list of List<Person> on the Name property,
we just have to use a single li
|category: Tips & Tricks
|Views: 117
tags:
Tips another
Everyones tags:
Your Tags: