I’m sorry about the nonsense question title, here is what i intended to asked:
in c#:
So i have a list that has integers(id’s), and i have a query string: