What exactly is an Assembly in C# or .NET?

前端 未结 9 1664
自闭症患者
自闭症患者 2020-11-28 02:43

Could you please explain what is an Assembly in C# or .NET?

  1. Where does it begin and where does it end?
  2. What important information should I know about
9条回答
  •  春和景丽
    2020-11-28 03:23

    When a source code is compiled by the language compiler it Generate a Managed Assembly and MSIL(MisroSoft Intermediate Language). That Assembly contains .dll or .exe file. An Assebmly can be of two types Private Assembly and Shared Assembly, shared Assembly is stored in GAC(Global Assembly Cache) so that any application can refer to it while private assembly is stored in application folder which can be used by only one Application.

提交回复
热议问题