C#C
C#3y ago
Ownix

❔ Dusplicate type names: using namespace vs changing the type names.

Lets say you have 2 models with the same name like MyApp.Customers.Orders and MyApp.Employees.Orders.

Is the namespace enough or do you guys like to change the type so there is less chance of conflict? IE: MyApp.Customers.CustomerOrders, MyApp.Employee.EmployeeOrders.

See pic for an example of what this would look like in VisualStudio Solution Explorer.
image.png
Was this page helpful?