I have a few places where I need to compare 2 (nullable) values, to see if they\'re the same.
I think there should be something in the framework to support this, but can
I wanted to find how to compare two nullable int on C#, but I always get this link after search, so if someone needs to compare exactly two nullable int, then this can be helpful
a.GetValueOrDefault(int.MinValue).CompareTo(b.GetValueOrDefault(long.MinValue));