Get data from csv to dictionary c#
<p>I need to get data from csv to dictionary but when i try to compile this code i recieve error "An item with the same key has already been added." How to do it ? `</p>

<pre><code>   Dictionary&lt;string, string&gt; dic = new Dictionary&lt;string, string&gt;();

    public void AddToDic()
     {
         string line = "";
         using (StreamReader sr = new StreamReader(@"words.txt")) 
         {
              while (sr.Peek() != -1)
             {
                 line = line + sr.ReadLine();                
                 string[] splitted = line.Split(' ');
                 dic.Add(splitted[0], splitted[1]);  //ERROR An item with the same key has already been added.        
             }
          }

    }

    //text in words.txt is like: "car auto" newline "water voda" etc...
</code></pre>

<p> </p>
