little known, little used C# operators – null-coalescing operator (??) and the ternary operator (?:)

I was reading through some code over the weekend and came across a null-coalescing operator. So I thought I would write a blog post about it and the ternary operator.   null-coalescing operator (??) x = y ?? z If y is null, then z is assigned to x, otherwise y will be assigned to… Continue reading little known, little used C# operators – null-coalescing operator (??) and the ternary operator (?:)