79775835

Date: 2025-09-26 11:25:07
Score: 0.5
Natty:
Report link

FormsAuth = formsAuth ?? new FormsAuthenticationWrapper();

Equivalent to:

FormsAuth = (formsAuth != null) ? formsAuth : new FormsAuthenticationWrapper();

Equivalent Code Without ??

if (formsAuth != null)
    FormsAuth = formsAuth;
else
    FormsAuth = new FormsAuthenticationWrapper();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ALLAH ALLAH