if (5 + 5 + 5 >= 500)
            {
                
            }
            else
            {
                return shell;

            }

 

这样可否编译通过呢? 

可以

因为 5 + 5 + 5 >= 500直接被编译为

protected override DependencyObject CreateShell()
{
    Shell shell;
    DependencyObject CS$1$0000;
    bool CS$4$0001;
    shell = new Shell();
    shell.Show();
    CS$4$0001 = 1;
Label_0012:
    CS$1$0000 = shell;
Label_0017:
    return CS$1$0000;
}


相关文章:

  • 2022-12-23
  • 2021-07-20
  • 2022-01-15
  • 2022-12-23
  • 2022-03-04
  • 2021-10-06
猜你喜欢
  • 2021-06-02
  • 2021-05-28
  • 2021-12-06
  • 2022-02-12
  • 2021-06-28
  • 2021-10-09
  • 2021-07-20
相关资源
相似解决方案