Do you think that C# will support something like ??= operator?
Instead of this:
if (list == null) list = new List<int>();
It might be possible to write:
list ??= new List<int>();
Now, I could use (but it seems to me not well readable):
list = list ?? new List<int>();
© Stack Overflow or respective owner