We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi C# team
Instead of
nullableVariable = nullableVariable ?? "Default non-null value";
it would be nice to just use a short-circuit
nullableVariable ??= "Default non-null value";
The text was updated successfully, but these errors were encountered:
That code is already valid in the current C# 8.0 preview and so it should work in the final version of C# 8.0, which is planned to be released next month.
For more details, see #34.
Sorry, something went wrong.
Closing as implemented
No branches or pull requests
Hi C# team
Instead of
nullableVariable = nullableVariable ?? "Default non-null value";
it would be nice to just use a short-circuit
nullableVariable ??= "Default non-null value";
The text was updated successfully, but these errors were encountered: