[Solved] How do I fix C# Error cs0103 in Visual Studio 2017?
The initial problem was that your variables weren’t class scoped and also the calculations seem a bit crazy to me. But from pasting your code in to my editor I’ve had a quick tidy up and come out with the following: using System; namespace TestConsoleApplication { class Program { static double _totalLength, _totalWidth, _windowPerimeter, _glassArea; … Read more