-
August 19th, 2013, 03:30 PM
#1
[RESOLVED] New C# programmmer needs help with curly brackets.
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
here------->{
It will move it
here-->{
Any help would appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|