How to check Entity Value null and count in single condition instead to add one more if condition to check if ecAccount ?
with the following code it will get error if ecAccount is Null is there any other to avoid error with single line condition in c# ?
if (ecAccount == null && ecAccount.Entities.Count <= 0)
return null;
*This post is locked for comments