One of the best things came in .Net for developer is #Region. #Region lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor.

During my development I found we can have our code divided into following blocks.

  • Constants
  • Shared Region
    • Private Fields
    • Properties
      • Private
      • Protected
      • Internal
      • Public
  • Methods
    • Private
    • Protected
    • Internal
    • Public
    • (In DNN Modules)
      • IModuleAction implementation.
      • IModuleListner implementation.
      • IModuleCommunicator implementation.
      • Private Fileds
      • Properties
        • Private
        • Protected
        • Internal
        • Public
        • Methods
          • Private
          • Protected
          • Internal
          • Public
          • Event Handlers

 

 

Words from our clients

 

Tell Us About Your Project

We’ve done lot’s of work, Let’s Check some from here