从vb.net转到c# [英] going from vb.net to c#

查看:90
本文介绍了从vb.net转到c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前见过人们说要从vb.net转到c#你需要编译和

然后反编译才能看到c#。谁可以勾勒出让我做的步骤

那个?

i''ve seen before people say to go from vb.net to c# you need to compile and
then decompile to see the c#. can someone outline the steps for me to do
that?

推荐答案

呵呵?


" - 丹 - < da*@domain.com>在消息中写道

新闻:40 *********************** @ news.twtelecom.net。 ..
huh?

" - Dan -" <da*@domain.com> wrote in message
news:40***********************@news.twtelecom.net. ..
我以前见过人们说要从vb.net转到c#你需要编译
然后反编译才能看到c#。谁可以勾勒出我要做的步骤
那个?
i''ve seen before people say to go from vb.net to c# you need to compile and then decompile to see the c#. can someone outline the steps for me to do
that?



嗨丹,


我认为人是指正在谈论IL DASM,你可以看到由VB.net创建的

中间代码,这与编译的代码几乎相同

C#程序。


当你查看IL DASM代码时,你可能会想到看看C.


..class public auto ansi Form1

扩展[System.Windows.Forms] System.Windows.Forms.Form

{

} //结束Form1

但是这不是C#


Cor

Hi Dan,

I think that "people" are talking about IL DASM, with which you can see the
intermidiate code created by VB.net, which is by the way almost the same as
the code compiled by a C# program.

When you look in IL DASM code you might be get the idea looking at C.

..class public auto ansi Form1
extends [System.Windows.Forms]System.Windows.Forms.Form
{
} // end of class Form1
However this is no C#

Cor


下载.NET Reflector。它会给你很好的反编译鳕鱼,无论是VB.NET,C#还是Delphi。你可以复制/粘贴这段代码,但要注意,

当VB / C#转到IL时,有些东西会被搞砸,这可能是一件痛苦的事情。

想一想out。


HTH,

JLW

" - 丹 - < da*@domain.com>在消息中写道

新闻:40 *********************** @ news.twtelecom.net。 ..
Download .NET Reflector. It will give you pretty good decompile cod in
either VB.NET, C#, or Delphi. You can copy/paste this code, but be warned,
when VB/C# goes to IL, some things get goofed, and it can be a pain to
figure it out.

HTH,
JLW
" - Dan -" <da*@domain.com> wrote in message
news:40***********************@news.twtelecom.net. ..
我以前见过人们说要从vb.net转到c#你需要编译
然后反编译才能看到c#。有人可以勾勒出我要做的步骤吗
i''ve seen before people say to go from vb.net to c# you need to compile and then decompile to see the c#. can someone outline the steps for me to do
that?



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

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