compare file with 20 other files to count the number of matches
<p>i have 20 files  i want to compare it with master.txt file one by one if there are any match the program gives me the total number of matches between two files i try  with the below code:</p>

<pre><code>using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;

namespace ConsoleApplication1

{
class Program
{
    static void Main()
    {
        int found;
        int count = 0;
        string[] content = File.ReadAllLines(@"C:\master.txt");
        string[] mastercontent = File.ReadAllLines(**ineed to pass more than filename** );
        foreach (string con in content)
        {
            if (mastercontent.Contains(con))
            {
                found = 1;
                count = count + found;
            }

            // else
            // { 
            //Console.WriteLine("no match");
            // }
            Console.WriteLine(count);
        }
    }
}
}
</code></pre>

<p>i face problem with passing more than one file path to the File.ReadAllLines()</p>
