So I have been intrigued by the ?? operator, but have still been unable to use it. I usually think about it when I am doing something like:
var x = (someObje
The ?? operator is like the coalesce method in SQL, it gets you the first non-null value.
??
var result = value1 ?? value2 ?? value3 ?? value4 ?? defaultValue;