I am trying to do this:
myIEnumberable = myIEnumberable
.Where(myFunc(moveInDate, r => r.GetPropertyAsDateTime("date")) == true);
But getting the er开发者_如何学Goror:"cannot convert lamda expression to System.Date.Datetime because it is not a delegate type.
How do I go about writing this?
Thanks!
myIEnumberable = myIEnumberable
.Where(r => myFunc(moveInDate, r.GetPropertyAsDateTime("date")) );
精彩评论