Semantic #region usage

Posted by Luca on Stack Overflow See other posts from Stack Overflow or by Luca
Published on 2010-03-12T19:27:01Z Indexed on 2010/03/12 22:57 UTC
Read the original article Hit count: 169

Filed under:
|
|

What's your opinion about using #region folding using application semantic, instead of folding for "syntax".

For example:

#region Application Loop
#region User Management
#region This Kinf of stuffs

instead of

#region Private Routines
#region Public Properties
#region ThisRoutine // (Yes, I've seen this also!)

In this logic, I'm starting fold even routine bodies. I'm starting to love #region directive (even using #pragma region when using C++!).

© Stack Overflow or respective owner

Related posts about c#

Related posts about coding-style