C#C
C#4y ago
Mastalt

❔ IEnumerable is empty for some reason

I want to add a filter to check if an IEnumerable is empty so i'm using IEnumerable.Any(), but my IEnumerable afterward is empty and i can't do anything with it. If i remove the check, the data is suddenly there.
Was this page helpful?