Error on if statement - cannot implicitly convert type to 'bool'

后端 未结 2 435
温柔的废话
温柔的废话 2020-11-27 23:12

I am having an issue converting type. I was trying code like this (minimal, detailed code later):

string cityType = \"City1\";
int listingsToSearch = 42;
if          


        
2条回答
提交回复
热议问题