I have list of int A,B. i like to do the following step in linq
list c = new List(); for (int i = 0; i < a.count; i++) { for (i
You can use Intersect:
var a = new List(); var b = new List(); var c = a.Intersect(b);