You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it seem like ?? isn't an operator (yes, I know it says in plain text that it's an operator) but a statement pseudo-assignment thing that marks name1 as having a default value to replace null. This also doesn't mention ??=. I noticed this when I was confused why the LSP was complaining about the statement not being valid. This just needs to be expanded a bit.
The text was updated successfully, but these errors were encountered:
At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.
This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!
If you're interested in learning more about this auto-responder, please read this blog post.
Just a typo:
Accessing a member of a variable which value is null will compile fine, but result in a NullReferenceException being thrown at runtime:
Should probably be something like
Accessing a member of a variable whose value is null will compile fine, but result in a NullReferenceException being thrown at runtime:
But as a beginner the explanation for the
??
operator is confusing:csharp/exercises/concept/tim-from-marketing/.docs/introduction.md
Lines 62 to 68 in 7e614a2
This makes it seem like
??
isn't an operator (yes, I know it says in plain text that it's an operator) but a statement pseudo-assignment thing that marksname1
as having a default value to replacenull
. This also doesn't mention??=
. I noticed this when I was confused why the LSP was complaining about the statement not being valid. This just needs to be expanded a bit.The text was updated successfully, but these errors were encountered: