Replies: 1 comment
-
When you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Howdy!
Not sure if this falls into the known pitfalls of arrays, but I cannot "unwrap"
IEnumerable<T>?
toIEnumerable<T>
.Here's what I'm doing:
Anyway, it looks
y
is still of typeIEnumerable<string>?
rather thanIEnumerable<string>
, despite the usage of the null-coalescing operator... and cannot sort it out why.Any hint?
PS. by the way, without type inference the compiler doesn't complain anymore:
Beta Was this translation helpful? Give feedback.
All reactions