An open API service indexing awesome lists of open source software.

https://github.com/gerardo-lijs/regions-alternatives-sample

Sample project to show the alternatives to C# regions
https://github.com/gerardo-lijs/regions-alternatives-sample

partialclass regions sample

Last synced: about 2 months ago
JSON representation

Sample project to show the alternatives to C# regions

Awesome Lists containing this project

README

          

# Regions Alternatives Samples
Sample project to show the alternatives to C# regions

## Regions-vs-Partial-Sample
The basic idea is that if the responsibility of the class can't be split, I prefer to use partial classes.

It makes it easy to find each "group" of methods, it helps with git push because two developers can work in separate files and you can search easily with VS without ReSharper

![](1-region.PNG)
![](2-partial.PNG)
![](3-partial.PNG)