SyntaxFix
Write A Post
Hire A Developer
Questions
Starting with C# 8.0, you can use the ??= operator to replace the code of the form
if (variable is null) { variable = expression; }
with the following code:
variable ??= expression;
More information is here