Find a value in a comma delimited String
This could be a better/cooler way:

return (parameter as string)?.Split(',').Contains(value as string) ?? (object)false;


Your example is so short that I don't know what else I could say. You are looking for a short solution, so here is one.