C#中两个问号的含义

string strParam= Request.Params["param"]?? "";

取??左边的值,如果??左边的值为null则取右边的值

posted @ 2012-10-19 15:44  玢棂  阅读(219)  评论(0编辑  收藏  举报