Namespace-difference between namespace & assembly, DOT NET Programming

NameSpace

Namespace consists of 2  main basic functionality :-

  • NameSpace Logically types group , ex. System.Web.UI logically groups our UI related features.
  • In Object Oriented world many times its possible that programmers  use the same class name.By qualifying the NameSpace with the classname this collision is able to be eradicated.

Difference between NameSpace and Assembly:

Following are the 2 differences between namespace and assembly :

  • Assembly is a physical grouping of the logical units. Namespace logically groups all the classes.
  • The Namespace can span multiple assemblies but assembly cannot do it.
Posted Date: 9/18/2012 6:40:01 AM | Location : United States







Related Discussions:- Namespace-difference between namespace & assembly, Assignment Help, Ask Question on Namespace-difference between namespace & assembly, Get Answer, Expert's Help, Namespace-difference between namespace & assembly Discussions

Write discussion on Namespace-difference between namespace & assembly
Your posts are moderated
Related Questions
I have a code in C# which uses Microsoft Solver Foundation to solve linear programming model. But the problem is the code is too long, there are too many variables and constraints,

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. Project Description: System is used for tracking company's activities through several projects by

What is "Common Type System" (CTS)?  CTS define all of the basic types that can be used  in the .NET Framework and the operations performed on those type. All this time we have

What is Windows DNA architecture? The Windows Distributed internet Applications Architecture (DNA) is a Microsoft blueprint for scalable, robust, & distributed business softwar

What is Common Language Specification (CLS)? CLS is a set of essential rules, which must be followed by each .NET language to be a .NET- compliant language. It enables interope

Reflection All .NET assemblies have metadata information stored  the types defined in the modules. And This metadata information can be accessed by mechanism called as "Reflect

Ask question #Minimum 100 words accepWrite an ASP.NET program that allows you to create and populate a CheckBoxList control by accessing the Title field from the Movies database ta

What is Dynamic Language Runtime (DLR)? DLR is a runtime environment that permits you to integrate dynamic languages with the Common Language Runtime (CLR) by adding a set of s

What is Delegation? A delegate seems like a strongly type function pointer. Delegates can request the methods that they reference without making explicit calls to those methods

The ASP.NET impersonation is totally controlled by entries in the applications web.config file. Default setting is "no impersonation". You can explicitly describe  that ASP.NET sho