When working on C#, I often do this:
#region Properties
public int Property1{get;set;}
...(more properties)
#endregion
This makes Visual Studio add the option to fold the code inside the region. Offcourse, you can use regions for anything, it's not limited to Properties or anything at all.
I'm wondering 2 things:
- Is this just something to make Visual Studio add code folding to an area of the editor or does it affect the compiler?
- Can I do something similar in Netbeans?