C#C
C#9mo ago
yourFriend

✅ *"Converting possible null value to non nullable type"* warning in `Console.ReadLine()`

Can I ignore "Converting possible null value to non nullable type" warning here:
string s = Console.ReadLine();


I have never faced any runtime errors even when entering nothing on Console. Seems like an unnecessary warning.
Screenshot_501.png
Was this page helpful?