c# - Is it a good practice to have a package/namespace and class within with the same name? -


i creating new namespace , apt name 1 of class seems same name namespace. practice? if not, alternative?

for example:

com.person |--- person.(java/cs) |--- persondetailchecker.(java/cs) |--- personnamegenerator.(java/cs) 

related questions discussing same issue:

i try avoid that, since can make code harder read eric lippert has written article this, can find here:

i've made mistake myself few times, , made harder read of code.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -