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

Define satelite assembly?

1 Answers  


How different are interface and abstract class in .Net?

2 Answers  


What is the use of system.diagnostics.process class in .net?

1 Answers  


Why SOAP is required?

1 Answers   Alcatel-Lucent,


What are the different parts of an Assembly in .Net?

1 Answers  


Is .net is platform independent. If am using solaris, installing .net first u had to install framework, so framework is .exe file then it will not take in solaris or any other than windows,then how .net is platform independent.

1 Answers  


What are the providers available with VS.NET ?

2 Answers   TCS,


What does the "EnableViewState" property do?

1 Answers  


What is .net3.0 and .net3.5?

1 Answers  


What is "microsoft intermediate language" (msil)?

1 Answers  


what are connection strings?

1 Answers   Manhattan, RTRT,


What is the difference between an abstract class and an interface?

1 Answers  


Categories