Avoiding That Null Reference!
- by TheJuice
A coworker had this conversation with another of our developers. Names have been changed to protect the guilty.
Clueless: hey!
Clueless: I am using the ?? operator for null check below
Nice Guy: hey
Clueless:
FundLoanRequestBoatCollateral boatCollateral = request.BoatCollateral ?? null;
Nice Guy: that's not exactly how it works
Clueless: I…