When creating an IEnumerables, I mostly returned a null value when there are no values for the collection. But it is in some situations better to return an empty collection. This can be done with the Enumerable.Empty method.
Stop Saying ‘You Are an Expert’
1 day ago
No comments:
Post a Comment