I have many models in my project that are unrelated to each other. I wanted to group them but I wonder what's better:
Folder/namespace per group
Group1.Constants
,Group2.Constants
Group1.Models
,Group2.Models
Group1/
├── Models/
│ ├── Class1.cs
│ ├── Class2.cs
├── Constants/
│ ├── Constants1.cs
│ ├── Constants2.cs
Folder/namespace per type
Constants.Group1
,Constants.Group2
Models.Group1
,Models.Group2
Models/
├── Group1/
│ ├── Class1.cs
│ ├── Class2.cs
Constants/
├── Group1/
│ ├── Constants1.cs
│ ├── Constants2.cs
Which is better and why?
Note: I don't want to put them in separate projects, as those types will be used only by 1 project.