📄 4-6.txt
字号:
using System;
class Test
{
public static void Main()
{
bool a,b,c,d;
a=false;
b=false;
c=true;
d=a&&(b||c);
Console.WriteLine(d);
}
}
-----------------------------------------------------------------------------------
.method public hidebysig static void Main() cil managed
{
.entrypoint
// 代码大小 27 (0x1b)
.maxstack 1
.locals init ([0] bool a,
[1] bool b,
[2] bool c,
[3] bool d)
IL_0000: ldc.i4.0 //Push 0 onto the stack as int32.
IL_0001: stloc.0 //Pop value from stack into local variable 0.
IL_0002: ldc.i4.0
IL_0003: stloc.1
IL_0004: ldc.i4.1
IL_0005: stloc.2
IL_0006: ldloc.0 //Load local variable 0 onto stack.
IL_0007: brfalse.s IL_0012 //branch to target if value is zero (false), short form
IL_0009: ldloc.1
IL_000a: brtrue.s IL_000f
IL_000c: ldloc.2
IL_000d: br.s IL_0010
IL_000f: ldc.i4.1
IL_0010: br.s IL_0013
IL_0012: ldc.i4.0
IL_0013: stloc.3
IL_0014: ldloc.3
IL_0015: call void [mscorlib]System.Console::WriteLine(bool)
IL_001a: ret
} // end of method Test::Main
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -