top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What are namespaces, and how they are used?

+1 vote
58 views
What are namespaces, and how they are used?
posted Dec 1, 2014 by Balu

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

• In .Net framework namespaces are used to manage classes.
• The Key difference between .Net namespaces and java packages is that namespace doesn’t define the physical layout of source file while java packages do.
• Namespace define logical structure of the code.
• Namespaces can be utilized via using keyword, in .net framework, many class have their namespace defined such as System.Net.
• We can create our own C# source files which can relate to multiple projects.

answer Dec 1, 2014 by Manikandan J
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...