Error!
Success!

Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic

0
kicks

Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic  (Unpublished)

once stuck on a requirement where I needed to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic. After trying many options I discovered myself how easy it is to hit this requirement using Lamda Expression. Below code will do this for you.


Kicked By:
Drop Kicked By: