Tag Archives: Nullable

Null Coalescing Operator To Define Default Value For Nullable Types – Double Question Mark

We all know that defining a nullable type in C# is very simple as below And when you want to check whether the value is null, then there are definitely multiple way you could do. However there is a easy way you could specify the default value i.e., the default value to be used in […]

LINQ and Nullable Values or SQL ISNULL with LINQ

In this tips I am going to show how you can deal with the Nullable values in LINQ queries and how you can achieve functionality like SQL ISNULL function. Let’s put it as a problem statement I am dealing with the LINQ queries, In which I have to diplay “N/A” were the value is null […]