Tools

Code Quality
Analyzer

23 Errors found

Loading...

Error

Occurs when trying to access a member (property, method, or field) on an object that is currently null

Corrected by AI
csharp
  • string name = null;
  • int length = name.Length; // Throws NullReferenceException

Result View

PRO