I’m learning C# development and have a long list of commands I’m testing and developing. I can’t get my project to build now, as a number of my commands that used to work okay are now coming up with the IDE errors noted above.
First, I’d like to keep the variable declarations as they are, despite the suggestion to inline per 0018.
Second, it looks like I can suppress 0068, but would like to know what is causing the problem in the first place.
I have about 20 commands I’m working on and most are now showing these errors. Is there a ‘general’ approach to solving this problem?