✅ removing ugly yellow lines in vscode
i finished working on some homework, and there is an error that will never appear under the circumstance of the homework
i just want to be finished with the file, i did the assignment
i just wanna make the folders look cleaner, without it being colored yellow
but i still wanna see errors in other files, is there a way to fix this?
5 Replies
Fix the warning...?
Yellow underline means it's just a warning, those are usually easy to fix
So post some $code and we'll see what's wrong
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/
the error is "Converting null literal or possible null value to non-nullable type."
Ah, simple fix
??
provides a fallback for nullable valuesah
tysm