0
I’m creating a partial class, and I’d like to implement some validations in another partial class, just to separate the methods.
I know that this is possible, but I would like to join these two sources, that would be possible?
For example:
Where is the source of RepositorioPais, would like to create a class RepositorioPais.Validacao and attach the two together, the same is done in the forms created by C#. See image 2.
Form


This extension for Visual Studio does this automatically, no manual editing required: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileNesting
– MurariAlex