Checking to see if a string is already added into a list c#
<p>I am working on some c# I have inherited.</p>

<p>I have a problem in that something is being repeated twice in the output, I think I have identified in the controller where this is being added;</p>

<pre><code>if(!isDirectUK)
  rollingPriceSupp.Add(new KeyValuePair&lt;string, float&gt;("Personal Insurance",
                                                       (float)insuranceCost));
ViewData["vRollingPrice"] = rollingPriceSupp;
</code></pre>

<p>How can I put a check at that point to see if the string "Personal Insurance" has already been added, so as to avoid it bieng repeated twice ?</p>
