๐ Bug HuntC# C# / .NET Easyโก+10 XP
Null Reference
This throws NullReferenceException.
๐ Find the bug
1
string name = null;2
Console.WriteLine(name.Length);๐ The bug is on line 2
This throws NullReferenceException.
string name = null;Console.WriteLine(name.Length);