1 在字符串相加时(+),在表达式中,如果要引用三元表达式,要将三元表达式的运算优先级提高。否则会编译通不过。 eg:string a = "asdfasdf"+(bolean?"aa":"bbb")+"alksdfjsadf";