How do I remove or turn off the errors displayed inline in the editor windows?

How do I turn off or remove these "tips" (seen on the right side of image) from the editor?

enter image description here

>Solution :

This is controlled by the "Display diagnostics inline" option. To turn it off go to Tools → Options → Text Editor → C# → Advanced and toggle the control.

Display diagnostics inline

Leave a Reply