摘要:
C#中只有一个三元运算符写法:A?B:C 如果A的逻辑为True则返回B,否则返回CView Code 1 using System; 2 3 using System.Collections.Generic; 4 5 using System.Linq; using System.Text; 6 7 namespace ConsoleApplication1 8 9 { 10 11 class Program 12 13 { 14 15 static void Main(string[] args) 16 17 ... 阅读全文
posted @ 2012-09-24 15:58
天国里的牵挂
阅读(327)
评论(0)
推荐(0)

浙公网安备 33010602011771号