Home | ASP.Net & C# |
MVC
|
Interview Questions & Answers
|
Others
|
What you mean by assembly in C#
In the dot net frame work an assembly is a compiled code. Two types of assemblies are there - EXE and Dll. They provide the common language runtime with the information it needs to be aware of type implementations. This can be used for hosting, can be use in other projects also.
When we are referencing an assembly to our project, there are many advantages.
In the dot net frame work an assembly is a compiled code. Two types of assemblies are there - EXE and Dll. They provide the common language runtime with the information it needs to be aware of type implementations. This can be used for hosting, can be use in other projects also.
When we are referencing an assembly to our project, there are many advantages.
- We dont need to write the codes from the assembly again and again
- The assembly will be loaded into memory only when they are required, else they will not be loaded.
- So it is very efficient way to manage resources in larger project.
No comments:
Post a Comment