After checking if (!(bindable is BaseGrid template)) is there any need to check if template == null?

后端 未结 0 366
温柔的废话
温柔的废话 2021-01-13 09:34

My developer created this code:

        if (!(bindable is BaseGrid template))
            return;
        if (template == null)
            return;

相关标签:
回答
  • 消灭零回复
提交回复
热议问题