✅ Early return with yield
How to i early return despite using yield
The method goes like
Mixed returns aren't allowed, how would you style this?
Wrap the foreach in an ≠null if ?
Or eagerly evaluate rather slow data pro
cessing?
Is there another XML query method that returns a non-nullable collection?
4 Replies
yield break;
Oh, I forgot 🤦
Thx
$close
If you have no further questions, please use /close to mark the forum thread as answered