Ran across this line of code:
FormsAuth = formsAuth ?? new FormsAuthenticationWrapper();
What do the two question marks mean, is it some ki
FormsAuth = formsAuth ?? new FormsAuthenticationWrapper();
is equivalent to
FormsAuth = formsAuth != null ? formsAuth : new FormsAuthenticationWrapper();
But the cool thing about it is you can chain them, like other people said. The one thin not touched upon is that you can actually use it to throw an exception.
A = A ?? B ?? throw new Exception("A and B are both NULL");