I want to get a list of string based in two lists lstJobs and lstPraudits. I want to get PlanId which is common in both list.
Here is my code-
List<string> result=reviewModel.lstJobs.Select(x=>x.planId.Contains(reviewModel.lstPraudits.Slect(y=>y.PlanId).toList()));
What I am doing wrong here. Code is giving error message.
SlectandtoListunless you have defined these methods yourself.