What is the difference between Namespace and Assembly?
Namespace:
1. it is a Collection of classes, which divides into categories.
2. They form the logical boundary for a Group of classes.
3. Namespace may be nested.
1. it is a Collection of classes, which divides into categories.
2. They form the logical boundary for a Group of classes.
3. Namespace may be nested.
4. we can also create namespace in ASP.NET
Assembly:
Assembly:
1 An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, version ID,culture and deployed as a single implementation unit
2 Assembly is also called as MSIL(Microsoft Intermediate Language) or we can say immediate code, which is converted in native code or machine code through JIT
3. Assemblies are Self-Describing.(Just copy and run, no need to register in registry)
4. Reusable
5. Scope: - Multiple Applications
6. In process component
7. It's a part of COM (Component Object Model)