Give me an example of what can be achieved if I use a region block, and what is the use behind the wording after the region declaration?
#region MyClass definition
//Some code
#endregion
There is no (technical) reason to use #region
.
The only thing it does is provide an easy way to collapse code.
As an example, for a relatively bulky class; I tend to separate some things in different regions:
That's just one example. You can separate code however you want, it has no effect on how the application works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With