Avoid Regions for Interfaces in Visual Studio
Date Published: 22 February 2010
Another quick tip related to the use of regions in your C# code – you can turn off the default behavior of wrapping interface implementations in regions via the options dialog. Simply go to Tools –> Options –> Text Editor –> C# –> Advanced as shown in the screenshot below, and uncheck the “Surround generated code with #region” checkbox.
Category - Browse all categories

About Ardalis
Software Architect
Steve is an experienced software architect and trainer, focusing on code quality and Domain-Driven Design with .NET.