摘要:
如果 ?? 运算符的左操作数非 null,该运算符将返回左操作数,否则返回右操作数。 示例: // nullable_type_operator.cs using System; class MainClass { static int? GetNullableInt() { return null; } static string GetStringValue() { return null;... 阅读全文
posted @ 2009-05-03 01:27
何翔华
阅读(736)
评论(1)
推荐(0)

浙公网安备 33010602011771号