What is the difference between a namespace and assembly name in .net?



What is the difference between a namespace and assembly name in .net?..

Answer / Shalvendra Payal

A Namespace is a logical container used to organize types, providing a unique naming context for classes, interfaces, structures, enumerations, value types, and namespaces. On the other hand, an Assembly is a compiled collection of .NET files that can contain multiple namespaces, classes, and versions. While a single assembly can have only one primary file (with the extension .exe or .dll), it can encompass multiple namespaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What?s a Windows process?

1 Answers  


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

1 Answers  


Which file is taken by compiler when we have both file Application and Server Configuration file?

1 Answers  


How to manage pagination in a page using .net?

1 Answers  


how we can capture the value in textbox when selectedvluechanged event of gridview is fired

1 Answers  


Explain the .NET architecture.

9 Answers   HCL, Idhasoft, Scandent, TCS, TechnoLinks,


Compare client server application with n-tier application

1 Answers  


what is viewstate?

2 Answers  


What is .net standard?

1 Answers  


How many design patterns can be created in .net?

1 Answers  


What do you mean by Code Access Security in .NET?

1 Answers  


what is prototype design pattern in .net

1 Answers   Infosys,


Categories