How to disable automatic outlining mode in Visual Studio

Here’s how to disable automatic outlining /region folding in Visual Studio 2010.

Go to Tools->Options->Text Editor->C#->Advanced and uncheck Enter outlining mode when files open.

image