Oh just because the docs said “The null-conditional operators are short-circuiting” and “the rest of the chain doesn’t execute” I wondered, if the object is null, it would just skip executing the assignment completely. Didn’t have high hopes, but thought I’d ask just in case, as it would be kinda handy as well. Probably pretty rarely though.
Oh just because the docs said “The null-conditional operators are short-circuiting” and “the rest of the chain doesn’t execute” I wondered, if the object is null, it would just skip executing the assignment completely. Didn’t have high hopes, but thought I’d ask just in case, as it would be kinda handy as well. Probably pretty rarely though.