imho, using fully qualified names is better and easier for the lucky developers who have to maintain my code.
ideally, given a choice, I'd use a method name that is clear, but different from existing .NET names, example:(_
Console.Readline(); // .NET method
WaitForEnterKeyPress(); // clear, meaningful, not a .NET name.
g.
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
Marked as answer by guhanasp on Aug 24, 2011 11:54 AM
guhanasp
Member
9 Points
10 Posts
name space question
Aug 19, 2011 12:25 PM|LINK
Hi,
How can we differentiate namespace system.xxx from a userdefined namespace like this "namespace xxx"?
chandrasheka...
Star
10258 Points
1760 Posts
Re: name space question
Aug 19, 2011 12:27 PM|LINK
Hi
You can use the Namespace alias in .Net to differenciate the System.xx and userdefined name space. Refer the following link
http://msdn.microsoft.com/en-us/library/c3ay4x3d(v=vs.80).aspx
Please try the answer for the post and finally Don't forget to click “Mark as Answer” on the post that helped you.
deepak2007in
Participant
1256 Points
267 Posts
Re: name space question
Aug 20, 2011 04:09 AM|LINK
Or you can use fully qualified name System.Collections.ClassName or MyNameSpace.Collections.ClassName.
Project Management Professional (PMP)
--------Please MARK AS ANSWER if it helped.----------
gerrylowry
All-Star
20525 Points
5713 Posts
Re: name space question
Aug 20, 2011 12:48 PM|LINK
imho, using fully qualified names is better and easier for the lucky developers who have to maintain my code.
ideally, given a choice, I'd use a method name that is clear, but different from existing .NET names, example:(_
Console.Readline(); // .NET method
WaitForEnterKeyPress(); // clear, meaningful, not a .NET name.
g.