How to Compare Two list in C#
Are you looking for a way to compare Two list in C# ? then read this thread to know how to compare it
string s1 = "umesh bhosale sample code for checking or comparing two list";
string s2 = "umesh BHOSALE two";
int icount = s1.ToLower().Trim().Split(' ').ToList().Intersect(s2.ToLower().Trim().Split(' ').ToList()).ToList().Count;
if (icount >= 1)
{
Console.WriteLine("One of the keyword available");
}
else
Console.WriteLine("No keyword available in first list");