如何创建DLL,然后再使用它们. [英] How to create DLL and then use them.

查看:83
本文介绍了如何创建DLL,然后再使用它们.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是C#的新手,我希望学习如何创建DLL,然后使用它们.

如果您能帮助我,我将非常感谢:)

Hello guys I am a rookie in C# and I am looking to learn how to create DLL''s and then use them.

I will be very grateful if you can help me :)

推荐答案

请参见 ^ ].

但是,按照建议,您应该阅读C#书籍.
See here[^].

However, as is recommended, you should be reading a C# book.


我认为您应该考虑购买一些书籍或阅读一些教程.最好的学习方法是尝试自己学习,并在遇到更具体的问题时使用类似的网站.

您可以通过创建一个构建到dll的项目来创建它们.您可以通过在项目中添加对它们的引用来使用它们.但是,考虑到您需要问这个问题,我认为您最好通过逐步讲解而不是仅凭答案来解决问题.
I think you should consider buying some books or reading some tutorials. The best way to learn, is to try to learn for yourself, and use sites like this when you have more specific questions.

You create them by creating a project that builds to a dll. You use them by adding a reference to them in your project. However, given that you needed to ask this, I think you''d be better off with a step by step tutorial, rather than just the answer.


这绝对不是那么困难构建一个dll并将其引用到其他项目.您是否使用VS和C#构建了任何简单的项目?
It is definetly not that tough to build a dll and refer it to other projects. Have you built any simple projects using VS and C#?


这篇关于如何创建DLL,然后再使用它们.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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