C#如何转换成VB.net呢?

正向指数增长 2020-09-30 02:32:39
C#如何转换成VB.net呢?
听说微软有这种工具,但是从哪里找呢?是插件还是一个单独的程序?有谁指导可以告知一下吗?

非常感谢!!
...全文
31869 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
鹏哥制造 2020-10-17
  • 打赏
  • 举报
回复
用反光镜(Reflector),不过没有哪个工具可以不经修改直接使用的,因为反编译的原理都是从IL文件识别生成对应语言的代码,Reflector可以直接保存文件,但有些问题需要手动解决,比如C#区分大小写,两个在C#没有问题的变量,转换成VB就会出问题。C#的指针使用跟VB.net有很大的不同,资源的读取也不同。
  • 打赏
  • 举报
回复
我都是看C#的代码自己写成vb.net的,直接找了个在线转换,转换半天的转换不成功,还没我自己改语法来的快
threenewbee 2020-10-02
  • 打赏
  • 举报
回复
ilspy反编译再切换语言
正向指数增长 2020-09-30
  • 打赏
  • 举报
回复
不要在线工具,要微软官方的那个工具。
这是第六版的介绍《ASP.NET 4入门经典:涵盖C#VB.NET(第6版)》内容简介:ASP.NET是.NET Framework的一部分,用于构建内容丰富的动态Web站点。其最新的版本ASP.NET 4对上一版进行了许多改进,包括增强了Web窗体,并添加了jQuery的支持。《ASP.NET 4入门经典:涵盖C#VB.NET(第6版)》循序渐进,逐步讲解了如何使用ASP.NET 4构建内容丰富的Web站点,并提供了大量使用C#和VB的示例。通过实际动手练习,您将学到关于构建Web站点的第一手信息,同时能够深刻理解在浏览器中查看ASP.NET 4页面时,后台到底发生了什么。 这是第七版,也就是本源码书的介绍 The ultimate programming guide to ASP.NET 4.5, by popular author and Microsoft MVP Imar Spaanjaars Updated for ASP.NET 4.5, this introductory book is filled with helpful examples and contains a user-friendly, step-by-step format. Written by popular author and Microsoft ASP.NET MVP Imar Spaanjaars, this book walks you through ASP.NET, Microsoft's technology for building dynamically generated web pages. This edition retains the highly accessible approach to building the Planet Wrox website example, an online community site featuring product reviews, picture sharing, bonus content for registered users, and more. Contains the comprehensive guide to the latest technology additions to ASP.NET 4.5 Shows how to build basic ASP.NET web pages and configure their server Includes information on how to add features with pre-built server controls Reveals how to design pages and make them consistent Contains the information needed for getting user input and displaying data Beginning ASP.NET 4.5 in C# and VB uses Spaanjaars's distinct writing style to put you at ease with learning ASP.NET 4.5.

16,722

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧