Monday, March 11, 2013

Naming Issues in .net

If you name a class in a namespace the same name as a project , you are inviting trouble.

for e.g. , references will now be confused
if you have a project called test and you add a class called test and you have a service reference called document, for example,

this will now not compile


        private test.Document.blah[] blahs;

No comments:

Post a Comment