public int CompanyID
{
get { return (int)(ViewState["CompanyID"] ?? 0); }
set { ViewState["CompanyID"] = value; }
}
the more succinct: if (isX ? doA() : elseDoB).
I would describe coalescing as shorthand for: if (isX!=null) then getX() else getB().
No comments:
Post a Comment