I need to add numerous variables of type nullable int. I used the null coalescing operator to get it down to one variable per line, but I have a feeling there is a more conc
Just to answer the question most directly:
int total = (sum1 ?? 0) + (sum2 ?? 0) + (sum3 ?? 0);
This way the statements are "chained" together as asked using a +