I have a string with semi-comma separated names:
string names = \"Jane;Harry\";
I also have a list of customer objects:
pub
You can try this.
List firstnames = names.Split(';').ToList();
var query = from c in customers where firstnames.Contains(c.FirstName) select c ;