How to clear gray dotted lines in C# Public Partial Class

Donald Symmons 3,066 Reputation points
2022-12-15T08:42:48.757+00:00

There are dotted gridlines in my public partial class (as shown in the image below), Please how do I clear them?

270868-red-dotted-line.png

Developer technologies | ASP.NET | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Answer accepted by question author
  1. Lan Huang-MSFT 30,206 Reputation points Microsoft External Staff
    2022-12-16T01:48:13.253+00:00

    Hi @Donald Symmons ,
    Just a warning that they don't need to exist because you don't use the value. The dots won't show up as long as you use them.
    271222-image.png
    271242-23.gif

    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.