C#中有关Dll的问题 [英] question about Dll in C#

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

问题描述

如何在C#编程中创建和执行DLL.

How is Create and Execution a DLL in C# programming.

推荐答案



检查一下.

创建类库 [
Hi,

check this..

Create Class Library[^]


检查一下:

如何:创建和使用C#DLL [ ^ ]

希望对您有所帮助:)
check this out:

How to: Create and Use C# DLLs[^]

hope it helps :)


启动新项目c#类库.
C#.dll无法执行:它需要由应用程序调用/引用.
然后在相同的解决方案中,
制作第二个项目,例如Windows或控制台应用程序,该项目将
构建并作为.exe程序运行.
然后添加对.dll库项目的引用.
然后添加
使用[ClassLibraryName];
到.exe代码文件
start new project c# Class Library.
C# .dll cannot be executed: it needs to be called/referenced by an application.
Then in same solution,
make a second project such as Windows or Console application that will
build and run as an .exe program.
then add reference to the .dll library project.
then add
using [ClassLibraryName];
to .exe code files


这篇关于C#中有关Dll的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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