Hello! I recently got a C# book for extra credit for school. I'm having a lot of problems with indenting, when to indent, and how to use curly brackets. For instance, right now I'm working on a project where I am making loops and testing them with Console.Beep(); and I keep getting error messages that my curly brackets are in the wrong place.

When I go back and try to fix them, Visual Studio 2010 keeps shifting the curly brackets to the left more than I need them (weird I know). For example, if I need my bracket

It will move it

Any help would appreciated.