LINQ FirstOrDefault check for default value

前端 未结 0 1904
一向
一向 2021-02-11 13:53

How can you check to see whether the object returned by the FirstOrDefault LINQ function is in fact the default?

For example:

Contact conta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题