Here is my code.
SPUser approver = mySite.EnsureUser(approverId); var selectedItems = listItems.Cast<SPListItem>().Where(p => p.Fields["WF_Approver"] == approver);
my list items field "WF_Approver" is field type of person or group. my approver is type of SPUser.
So how can i check the equation here between SPField and SPUser ?
didn't work either.