Visual Studio:
Just select the code area you want to collapse then right click on the mouse, click on Outlining then click on Hide Selection.
You will get the collapse (+) sign on the left vertical bar.
The Shortcut Key is Ctrl+M then Ctrl+H after selection.