❔ 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.
2 Replies
oh i created a mothod here but dailyData.Any() does the same
Filter out some unwanted datas, they all work fine, i've tested them numerous time without the if statment
The thing is, All of the methods work fine, without the if statment that is, as soon as i pout the if there tho, the data in dailyData suddenly vanishs
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.