x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

Namespace is logical grouping of related classes or types

assembly is physical collection of class files. assembly contains namespaces.

Answer

Namespace: 1) it is a Collection of names wherein each name is Unique. 2) They form the logical boundary for a Group of classes. 3) Namespace must be specified in Project-Properties.

Assembly: 1) It is an Output Unit. 2) It is a unit of Deployment & a unit of versioning. 3) Assemblies contain MSIL code. 4) Assemblies are Self-Describing. [e.g. metadata,manifest] 5)An assembly is the primary building block of a .NET Framework application. 6) It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). 7) All managed types and resources are marked either as accessible only within their implementation unit, or by code outside that unit.

Answer

A .Net Namespace provides the fundamental unit of logical code grouping while an assembly provides a fundamental unit of physical code grouping.Namespaces is a logical group of related classes that can be used by any other language targeting the Microsoft .Net framework .

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer