Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
The documentation shows:
WorkItem.State[States.Permit] = myState.Permit ?? null;
so to translate the first statement to y and x:
// y = x, unless x is null, in which case y = -1. int y = x ?? -1;
which is to say, y = x, unless x is null, in which case y = null
y = x ?? null;