|
查看: 1981|回复: 2
|
C#什么是 .dll file?
[复制链接]
|
|
|
C#里什么是 .dll file呢?
什么作用的呢? |
|
|
|
|
|
|
|
|
|
|
发表于 14-1-2014 10:31 AM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 28-2-2016 02:22 AM
|
显示全部楼层
dll是non-executable file , 就如以上的link的资料 A dynamic-link library (DLL) is a module that contains functions and data that can be used by another module (application or DLL).
就如我写software,就算是一个software,我也会把它变成一个solution+几个Projects。好比window application和Business logic是分开的,这样business logic的project就会compile成为一个DLL。window application的project会compile成为exe。
好处是如何明年公司决定把这个window application 变成web application。基本上全部的business logic我已经不需要重写了(当然有些人会说可以copy and paste),在新的web application,我可以直接register businesslogic.dll, 直接用里面的functions了。 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|