Using the query syntax, how do you check if a collection is null?
var result = from e in response.entitlements where e != null
select new {...}
response.entitlements is an array & when it's null I get a null reference exception but according to MSDN this where clause should handle it
var result = from e in response.entitlements where e != null
select new {...}
response.entitlements is an array & when it's null I get a null reference exception but according to MSDN this where clause should handle it
Comment