KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I got one big question. I got a linq query to put it simply looks like this: from xx in table where xx.uid.ToString().Contains(string[]) select xx The values of the string[] array would be numbers like (1,45,20,10,etc...) the Default for .Contains is .Contains(string) . I need it to do this instead: .Contains(string[]) ... EDIT : One user suggested writing an extension class for string[] . I would like to learn how, but any one willing to point me in the right direction? EDIT : The uid would also be a number. That's why it is converted to a string. Help anyone?
Tags (comma-separated)
Save Edits
Cancel