Closed bkoelman closed 7 years ago
I usually keep them together, so my preference is option 1.
The same for nested types, right?
An alternative would be to put them in partial classes and in separate files, but I'm not a big fan of that.
Neither am I.
Applies to: "Name a source file to the type it contains (AV1506)"
Consider the next file:
Options:
I think it is worth providing guidance on this situation, to align naming accross the entire team. My preference would be 2. Though I often see option 1 in codebases too.