Hi! I’m trying to get the count of a transaction state from the IEnumberable using LINQ but I am not getting the correct output.
Here are the codes that I tried but they always return 0 value
ienum_QueueItemsCaptured.Where(Function(x) x.Status.Equals(“Successful”)).Count
ienum_QueueItemsCaptured.Where(Function(x) x.Status = “Successful”).Count
And this output is what Im trying to achieve (got this from a snip in Queue Item Status Codes Mapped with Status Text but no luck getting the solution)