Can anyone explain about intellisense and assemblies briefly?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Manoj BhoirRank #599 · 4K pointsPosted May 31, 2015, 6:23 AM EDT
✓ Accepted answer+1
Hi Harendra,
First of all i want to tell you Intellisense and Assemblies both are different things.
What is Assemblies?
In short An assembly is a collection of types and resources that forms a logical unit of functionality. When you compile an application, the MSIL code created is stored in an assembly . Assemblies include both executable application files that you can run directly from Windows without the need for any other programs (these have a .exe file extension), and libraries (which have a .dll extension) for use by other applications. There are two kind of assemblies in .NET :
Private
Shared
Private assemblies are simple and copied with each calling assemblies in the calling assemblies folder.
Shared assemblies (also called strong named assemblies) are copied to a single location (usually the Global assembly cache). For all calling assemblies within the same application, the same copy of the shared assembly is used from its original location. Hence, shared assemblies are not copied in the private folders of each calling assembly. Each shared assembly has a four part name including its face name, version, public key token and culture information. The public key token and version information makes it almost impossible for two different assemblies with the same name or for two similar assemblies with different version to mix with each other.
IntelliSense is the general term for a number of features: List Members, Parameter Info, Quick Info, and Complete Word. These features help you to learn more about the code you are using, keep track of the parameters you are typing, and add calls to properties and methods with only a few keystrokes. Many aspects of IntelliSense are language-specific.
I know that both are different things.One is the key feature of visual studio IDE while other one is term associated with compilation process.
but just wanted to know some brief info about these.
so thnaks Manoj Bhoir for that.
Manoj BhoirRank #599 · 4K pointsPosted May 31, 2015, 6:23 AM EDT
Assemblies include both executable application files that you can run directly from Windows without the need for any other programs (these have a .exe file extension), and libraries (which have a .dll extension) for use by other applications.
There are two kind of assemblies in .NET :
- Private
- Shared
Private assemblies are simple and copied with each calling assemblies in the calling assemblies folder.Shared assemblies (also called strong named assemblies) are copied to a single location (usually the Global assembly cache). For all calling assemblies within the same application, the same copy of the shared assembly is used from its original location. Hence, shared assemblies are not copied in the private folders of each calling assembly. Each shared assembly has a four part name including its face name, version, public key token and culture information. The public key token and version information makes it almost impossible for two different assemblies with the same name or for two similar assemblies with different version to mix with each other.
IntelliSense is the general term for a number of features: List Members, Parameter Info, Quick Info, and Complete Word. These features help you to learn more about the code you are using, keep track of the parameters you are typing, and add calls to properties and methods with only a few keystrokes. Many aspects of IntelliSense are language-specific.
Harendra Sikarwar3 pointsPosted Jun 1, 2015, 6:31 AM EDT