title: How to make a case insensitive list search in C#?
body: <p>I've been trying to make a list search method where I could present the items in the list unaffected and after a week going through every search method I could find I realizes that I'm stuck.</p>
  
  <p>The list (posts) stores arrays if that makes any change, this is the search function I got this far that have worked the best but it's case sensitive,</p>
  
  <pre><code>    string searchKey; 
      Console.WriteLine("\nEnter key: ");
      searchKey = Console.ReadLine(); 
  
      foreach (string result in posts.Where(logg =&gt; logg.Contains(searchKey))) 
      {
          Console.WriteLine("\n{0}", result);
      }
  </code></pre>
  
  <p>Does so I hope that someone know about some great method that I've missed even if I start to think that I'm screwed and should go for some other system instead.</p>