且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C#空合并运算符返回null

更新时间:2022-06-14 23:15:02

这可能是与调试器,而不是用code的一个问题。尝试打印出的价值或聚结运营商的声明后,做一个空检查。

This could be a problem with the debugger rather than with the code. Trying printing out the value or doing a null check after the statement with the coalesce operator.