How to read an empty IEnumerable (string)

Hi, I’m trying to read a Ienumerable type of String in a If condition.
If IsNothing(myArray) = true then else…, but it only seems to work for String Arrays. Does anyone have an Idea?

thanks

@B.D

Check below way.

  myArray.Count > 0
7 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.