C#和VB帮助 [英] C# and VB help

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

问题描述

这个问题可能非常疯狂,或者可能很常见,但是我不知道让我们看看..

是否可以在VB窗口中运行某些C#编程软件?
我有一个项目的一些编程模块,但我希望它们全部在一个窗口内工作.所以我在想是否有可能打破这个界限?

详细说明:

我有一些C#程序的小模块,它们工作正常.我正在VB中做一个小项目,这个VB项目中我想要的那些C#程序中有一些功能.一种选择是将代码重写为VB,但我不想这样做,因为这将花费很多时间.是否有可能不重写代码就可以在VB内简单运行那些小模块?

谢谢!

This question might be very crazy or might be very usual, but I don''t know lets see..

Is is possible to run some C# programming software inside VB window?
I am having some programmed modules of a project, but I want them all to work inside one window. So I was thinking wether it is possible to break this boundary?

In details:

I have some small modules of C# programs, they are working fine. I am making a small project in VB , there is some functionality in those C# programs that I want in this VB project. One option is to rewrite the code into VB, but i dont want to do that, as it will take a lot of time. Is it possible that without rewriting the code, I can simply run those small modules inside this VB?

Thank you!

推荐答案

Rakesh!

只要您使用的是同一版本的.Net运行时,就根本不会有任何问题.可以使用任何C#类库
从VB.NET,只需引用dll或项目.

干杯

曼弗雷德(Manfred)
Hi Rakesh!

As long as you''re using the same version of the .Net runtime it shouldn''t be any problem at all. Any C# class library can be used
from VB.NET, just reference the dll or the project.

Cheers

Manfred


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

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