C#三元运算符

           MessageBox.Show(true ? true ? "A" : "B" : "C");
            MessageBox.Show(true ? "3" : "4"); 

 

posted @ 2018-04-12 10:58  enych  阅读(2025)  评论(0编辑  收藏  举报