Snack size C#: null coalescing operator

added by IDelectable
2/12/2010 8:37:45 PM

1 Kicks, 118 Views

Examples of how to assign the value of an expression to a variable, unless that expression evaluates to null, in which case default to something else. And if that something else is also null, then fall back to another value, and so on.