title: C# indexof is entering if statement when it should not based on the List i have
body: <p>So this should be super simple ,  perhaps  <code>indexOf</code> is not the way to go</p>
  
  <pre><code> var incoming = "MDd";  // incoming data
  
  
    List&lt;string&gt; cities = new List&lt;string&gt;();
      cities.Add("MD");
      cities.Add("Mumbai");
      cities.Add("Berlin");
      cities.Add("Istanbul");
  
  if(cities.IndexOf(incoming) != 1 ) 
  {
      Console.WriteLine("found");
  }
  else
  {
   Console.WriteLine("not found");
  }
  </code></pre>
  
  <p>I am seeing  "found"   with linqpad  output , whether it is correct  "MD" or "MDd"   why? and what do I change to fix this?</p>