Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
8年前
差异永不过期
清除
导出
分享
解释
10 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
33 行
全部复制
11 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
34 行
全部复制
复制
已复制
复制
已复制
.class public auto ansi beforefieldinit WhatIWantTo
Write
.class public auto ansi beforefieldinit WhatIWantTo
Get
extends [System.Runtime]System.Object
extends [System.Runtime]System.Object
{
{
// Methods
// Methods
.method public hidebysig static
.method public hidebysig static
复制
已复制
复制
已复制
void
Main
(
void
ProperMain
(
string[] args
string[] args
) cil managed
) cil managed
{
{
复制
已复制
复制
已复制
// Method begins at RVA 0x20
50
// Method begins at RVA 0x20
64
// Code size
11 (0xb
)
// Code size
21 (0x15
)
.maxstack 8
.maxstack 8
复制
已复制
复制
已复制
.entrypoint
IL_0000: ldstr "This I wrote"
IL_0000: ldstr "This I wrote"
IL_0005: call void [System.Console]System.Console::WriteLine(string)
IL_0005: call void [System.Console]System.Console::WriteLine(string)
复制
已复制
复制
已复制
IL_000a:
ret
IL_000a:
ldstr "This I wove"
} // end of method WhatIWantTo
Write::Main
IL_000f: call void [System.Console]System.Console::WriteLine(string)
IL_0014: ret
} // end of method WhatIWantTo
Get::ProperMain
.method public hidebysig specialname rtspecialname
.method public hidebysig specialname rtspecialname
instance void .ctor () cil managed
instance void .ctor () cil managed
{
{
复制
已复制
复制
已复制
// Method begins at RVA 0x20
5c
// Method begins at RVA 0x20
7a
// Code size 7 (0x7)
// Code size 7 (0x7)
.maxstack 8
.maxstack 8
IL_0000: ldarg.0
IL_0000: ldarg.0
IL_0001: call instance void [System.Runtime]System.Object::.ctor()
IL_0001: call instance void [System.Runtime]System.Object::.ctor()
IL_0006: ret
IL_0006: ret
复制
已复制
复制
已复制
} // end of method WhatIWantTo
Write
::.ctor
} // end of method WhatIWantTo
Get
::.ctor
复制
已复制
复制
已复制
} // end of class WhatIWantTo
Write
} // end of class WhatIWantTo
Get
已保存差异
原始文本
打开文件
.class public auto ansi beforefieldinit WhatIWantToWrite extends [System.Runtime]System.Object { // Methods .method public hidebysig static void Main ( string[] args ) cil managed { // Method begins at RVA 0x2050 // Code size 11 (0xb) .maxstack 8 .entrypoint IL_0000: ldstr "This I wrote" IL_0005: call void [System.Console]System.Console::WriteLine(string) IL_000a: ret } // end of method WhatIWantToWrite::Main .method public hidebysig specialname rtspecialname instance void .ctor () cil managed { // Method begins at RVA 0x205c // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void [System.Runtime]System.Object::.ctor() IL_0006: ret } // end of method WhatIWantToWrite::.ctor } // end of class WhatIWantToWrite
更改后文本
打开文件
.class public auto ansi beforefieldinit WhatIWantToGet extends [System.Runtime]System.Object { // Methods .method public hidebysig static void ProperMain ( string[] args ) cil managed { // Method begins at RVA 0x2064 // Code size 21 (0x15) .maxstack 8 IL_0000: ldstr "This I wrote" IL_0005: call void [System.Console]System.Console::WriteLine(string) IL_000a: ldstr "This I wove" IL_000f: call void [System.Console]System.Console::WriteLine(string) IL_0014: ret } // end of method WhatIWantToGet::ProperMain .method public hidebysig specialname rtspecialname instance void .ctor () cil managed { // Method begins at RVA 0x207a // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void [System.Runtime]System.Object::.ctor() IL_0006: ret } // end of method WhatIWantToGet::.ctor } // end of class WhatIWantToGet
查找差异