C# text file deduping based on split
<p>what i want to do is de-dupe a text file (against itself) based on the split.  Once the de-dupe has been complete write out to a new file and keep the first result.  So a basic example is.  I guess the question is how do you de dupe a text file in C# based on a string split.</p>

<p>File 1:<br>
Apple|Turnip3234<br>
Apple|Tunip22<br>
Fox|dsa34<br>
Turtle|3423<br>
Hamster|d34<br>
Fox|sdw2  </p>

<p>Result:<br>
Apple|Turnip3234<br>
Fox|dsa34<br>
Turtle|3423<br>
Hamster|d34  </p>
