Comparing two lists of names
<p>I am trying to create a short Windows Presentation Foundation in C# to compare two lists in different format and output the users that are common to them. <strong>Right now I am taking each list from the user through a textbox.</strong> Now I am a little confused on how I can compare the two different textboxes and output the common names. If the data was in an array of some sort I could of done <code>var name = string.Split('(')[0].Trim()</code> but since I decided to use textboxes I am unsure of how to proceed with this. </p>

<p>First List:    </p>

<pre><code>Jacqueline Beaurivage   (loh Da road); 
    Bon Van Daht (fary goal lim)
    Bon Jobi (ting wei)
    Ting Wan (dehtee road);
</code></pre>

<p>Second List:</p>

<pre><code>Jacqueline Beaurivage
Bon Van Daht
</code></pre>

<p>Expected output:</p>

<pre><code>Jacqueline Beaurivage
Bon Van Daht
</code></pre>
