📜  linq 包含 null - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:15.454000             🧑  作者: Mango

代码示例1
(from a in this._addresses
where (a.Street ?? "").Contains(street) || (a.StreetAdditional ?? "").Contains(streetAdditional)
select a).ToList
()