As Darren Kopp said.
Your expression
object obj = Coalesce(obj1, obj2, obj3, ...objx);
You can write like this:
object obj = obj1 ?? obj2 ?? obj3 ?? ... objx;
to put it in other words:
var a = b ?? c;
equivalently
var a = b != null ? b : c;
source
share