Using the LINQ OrderBy operator with null values

added by DotNetKicks
2/27/2020 3:52:40 PM

250 Views

This blog post demonstrates a quick tip for sorting values in ascending order when some of the values can potentially be NULL. Let's assume you have an application that allows users to capture installation dates for customers. Our simplified Installation class may look something like the following.


0 comments