Replies: 2 comments 7 replies
-
Related: #32642 |
Beta Was this translation helpful? Give feedback.
1 reply
-
This should be public static bool IsNullOrEmpty([NotNullWhen(false)] this IEnumerable? value); With the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Originally posted here: dotnet/csharplang#6572
Proposing to add this to System.Linq.Enumerable class:
Idea behind: having
string.IsNullOrEmpty()
for everything enumerable.Could come in handy:
Beta Was this translation helpful? Give feedback.
All reactions