如何在Visual Studio 2015中将完整的c#项目转换为vb [英] How do I convert complete c# project into vb in visual studio 2015

查看:614
本文介绍了如何在Visual Studio 2015中将完整的c#项目转换为vb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我对此非常陌生并且(我只是办公室的实习生/学徒)试图了解/搞砸一些程序。



有没有办法转换ac #project(iE Simple Active目录浏览器:简单的Active Directory浏览器 [ ^ ]进入vb.net?我开始学习一本书(Windows scripting lernen - Holger Schwichtenberg),目前我更容易理解vb ...



我正在使用Visual Studio Community 2015.



任何帮助将不胜感激并感谢您的支持时间阅读/理解我的问题:)



(抱歉我的英语不好 - 不是我的母语)

Hi everyone,

I'm extremly new to this and (I'm just an intern/apprentice in an office) trying to understand /mess with some programs.

Is there a way to convert a c# project (i.E. Simple Active directory Browser: Simple Active Directory Browser[^] into vb.net? I startet learning a book ("Windows scripting lernen" - Holger Schwichtenberg) and currently it is easier for me to understand vb ...

I'm using Visual Studio Community 2015.

Any help would be appreciated and thanks for taking your time reading /understanding my problem : )

(Sorry for my bad english - not my native language)

推荐答案

你为什么不用d ll从VB代码编译? VB和C#生成相同的.NET IL代码。因此,从C#编译的dll将可用于您的VB项目。



另一方面,如果您的目标是学习如何翻译,请通过工具会打败目的。更好地学习C#的基础知识并自己翻译成VB;它将更具教育性。



否则,存在一些免费工具来进行转换;在Google上进行简单的c#to vb.net搜索会产生大约16,600,000个结果:)
Why don't you just use the dll compiled from the VB code? VB and C# produce the same .NET IL code. So compiled dll from C# will be usable in your VB project.

If, on the other hand, your goal is to learn how to translate, having it done by a tool would defeat the purpose. Better learn the basics of C# and translate to VB yourself; it will be much more educative.

Otherwise, there exist some free tools to do the conversion; a simple 'c# to vb.net' search on google leads to about 16,600,000 results :)


这篇关于如何在Visual Studio 2015中将完整的c#项目转换为vb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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