Class with same name as namespace
In the same app still (Ilanos), in my
However, for the sake of organization, I'm separating them like this:
The problem of that is the namespace name. The
The compiler complains that the
Ilanos.Application proj I have a lot of classes that are supposed to use the Joke class.However, for the sake of organization, I'm separating them like this:
The problem of that is the namespace name. The
JokeResponseMapper, for example, would be at the namespace Ilanos.Application.Mappers.Joke while the Joke entity/model class is at Ilanos.Core.Entities. The compiler complains that the
Ilanos.Application.Mappers.Joke namespace and the Joke class "have the same name", even if they're different, is there a way to keep the organization and have the named classes as they are?