.net的反编译软件,常见的有Reflector,ILSpy,dotPeek,dnspy,本文介绍dnspy

dnSpy工具可以在网上自行下载https://github.com/0xd4d/dnSpy/releases,软件界面如下:

 .NET的反编译软件

现在进入话题,首先编写一个Hello World的控制台运行程序,如下所示:

.NET的反编译软件
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChangeString
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = "Hello World!";
            Console.WriteLine(str);
            Console.ReadKey();
        }

    }
}
View Code

相关文章: