KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have list of int A,B. i like to do the following step in linq list<int> c = new List<int>(); for (int i = 0; i < a.count; i++) { for (int j = 0; j < b.count; j++) { if (a[i] == b[j]) { c.add(a[i]); } } } if its a and b is object , I need check particular properties like this manner and add list if it equals how can i do this in linq?
Tags (comma-separated)
Save Edits
Cancel