var user = HttpContext.User; if (user?.Identity?.IsAuthenticated ?? false)
{
} else
{
}這幾個問號分別都代表啥意思?
if (user?.Identity?.IsAuthenticated ?? false)
守著一只汪
2018-08-10 11:14:38