How to tell c# something is a integer

后端 未结 0 1966
执念已碎
执念已碎 2020-12-03 07:14

I am trying to use a if statement but i get error CS0029 Cannot implicitly convert type \'int\' to \'bool\' when using this code

 if (result = 0)
                     


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