Differences between namespace, class, assembly?



Differences between namespace, class, assembly?..

Answer / Sarvesh Kumar

{"namespace":"A collection of related types, often used to organize a program's code and avoid naming collisions. Namespaces do not exist as executable files but are instead part of the source code.

class":"A user-defined data type that combines data members (variables) and member functions (methods) to form an object-oriented programming construct. Classes can be instantiated into objects, which can then be manipulated by calling their methods.

assembly":"A collection of one or more compiled .NET files (DLLs or EXEs), that provide reusable code and resources for an application. Assemblies are executable files (EXEs) or dynamic link libraries (DLLs). They contain metadata, IL (Intermediate Language) code, resources, and an assembly manifest. Namespaces are often used within assemblies to further organize the code."}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Is there built-in support for tracing?

1 Answers  


What is .net debug & trace?

1 Answers  


What?s a Windows process?

1 Answers  


Explain the purpose of Remoting in .NET?

1 Answers   Petranics Solutions,


Can you explain what do you understand about web service?

1 Answers   Accenture,


what is the default security setting in .net?

1 Answers  


What is JIT and how is works?

3 Answers  


What are the differences between an interface and an abstract class in .net?

1 Answers  


Is .net core stable?

1 Answers  


How WSDL is stored ?

1 Answers   PPS, TCS,


Using activex control in .net?

1 Answers  


Explain what is a delegate?

1 Answers  


Categories