>>>Sorry to repeat what others have said, but "Regions" is something very, very basic to the IDE. You really need to >read some kind of beginners book to fill in some gaps in your knowledge.
>>
>> Are you implying questions like this should not be posted on the forum?
>>
>> Occasionally `beginner questions` allow one to verify definitions of terms... even when one is at a junior or intermediate level. Sometimes I learn little things from `beginner` questions like this one.
>
>My question is how exactly they are inserted? Manually by developer after he/she organizes the code or automatically by IDE - if yes, how?
Manually. The IDE doesn't suddenly to insert them under certain circumstances, if that's what you mean. You can manually enter the directive, or you can select a region of code, right-click, select Embed Selection, then #region..#endregion - there may be some VS keyboard shortcut for that, and I know there are some plug-ins that make it a bit easier.