New to C# 3: should this be done with linq?
c#
Solution
I would use
var count = Enumerable.Intersect(listA, listB).Count(word => word.Length > 3);
assuming `listA` and `listB` are of type `IEnumerable<String>`.
Problem
I have two List's of words. I want to count the words larger than 3 characters that exists in both lists. Using C# how would you solve it ?