摘要: 1、??运算符 string str = null; str = str ?? "123"; Console.WriteLine(str ?? "234"); variable ?? defaultValue 相当于 variable == null ? defaultValue : variable 2、 使用href="javascript:void(0)" 代替href="#",避免url... 阅读全文
posted @ 2008-05-09 09:27 chenjunbiao 阅读(163) 评论(0) 推荐(0) 编辑