I have two arrays say
var list1 = string[] {"1", "2", "3", "4", "", ""};
var list2 = string[] {"2", "3", "4","",""};
When i try to get common items form these two array using following code
var listCommon = list1.Intersect(list2);
It gives me result like this
string[] {"2", "3", "4", ""}
But i want it should return like this
string[] {"2", "3", "4", "", ""}
It is escaping last empty string value while intersecting.