关于问号表达式的使用方法
如:cboAge.Text == "不限" ? startAge = 0&&endAge = 100 : cboAge.Text == "16-22岁" ? startAge = 16 && endAge = 22 : cboAge.Text == "23-30岁" ? startAge = 23 && endAge = 30 : cboAge.Text == "31-40岁" ? startAge = 31 && endAge = 40 : startAge = 41 && endAge = 100;也就是说假如满足条件的话 我想把startAge和endAge都赋值