❔ Cannot convert lambda expression to type 'Activity' because it is not a delegate type error
So I want to check if List contains element with todays date but tis error occurs:
CS1660 Cannot convert lambda expression to type 'Activity' because it is not a delegate type
Here is definition of class:
and here is where error occurs:
I have no idea what delegate means so9 any help would be appericiated!9 Replies
Contains
doesn't take a delegate, use Any
insteadOh
I forgot about this one
Thanks!
Np
Are we not closing those anymore?
Accord is having a moment
Yea no problem, I did it by hand then lol
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.