Ternary if statement for boolean

后端 未结 0 1586
南方客
南方客 2020-11-21 21:59

I have the following code but I would like to know how I can turn this into a ternary if instead.

if (checkTop.Checked == true)
            this.TopMost = tru         


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