C# HasValue vs !=null -


this question has answer here:

my question might sound little foolish bugs me every time face it. difference between :

where value.hasvalue 

and

where value != null 

does hasvalue checks if value null?

they both same thing, pick 1 , stick have consistency. there nothing gain using either in end.


Comments