What is the point of nop in CIL

后端 未结 2 1251
醉话见心
醉话见心 2021-02-19 11:19

So I wrote the following code in C#.

class Test
{
    int a;
    System.IO.StreamReader reader;

    public Test()
    {
        a = 5;
        reader = new Sys         


        
2条回答
  •  太阳男子
    2021-02-19 11:52

    They are used to support breakpoints when building in debug mode and will make no difference to the execution of your assembly.

提交回复
热议问题