C#:为什么要使用的DLL? [英] c#: why use DLLs?

查看:171
本文介绍了C#:为什么要使用的DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个大型C#项目,我不知道为什么人们在他们的应用程序使用的DLL。我知道一个DLL文件(请纠正如果我错了)包含了一些功能,但为什么不我们把主要的C#应用​​程序里面那些功能?

i'm working on a large c# project,i wonder why people use DLLs in their apps. I know that a dll file ( please correct if i'm wrong) contains some functions, but why don't we put those functions inside our main c# app?

谢谢

推荐答案

它的大部分的答案的这个问题,但基本的理由是这样你就不必重复代码。

Most of it is summed up in the answer to this question, but the basic reasoning is "so you don't have to duplicate code".

这篇关于C#:为什么要使用的DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆