不經意看到這篇https://goo.gl/QN8uTc 算是對問號運算子的複習囉~ //第一種 int? a = null; //第二種 int a = (b == 1) ? c = 2 : c = 3; //第三種
確定! 回上一頁