title: C# Case-Insensitive String
body: <p>Considering the class below<br/>
   - can I do anything to implement a case-insensitive string?<br/></p>
  
  <pre><code>public class Attibute
  {
      // The Name should be case-insensitive
      public string Name
      {
          get;
          set;
      }
  
      public Attibute()
      {
      }
  }
  
  public class ClassWithAttributes
  {
      private List&lt;Attributes&gt; _attributes;
  
      public ClassWithAttributes(){}
  
      public AddAttribute(Attribute attribute)
      {
          // Whats the best way to implement the check?
          _attributes.add(attribute);
      }
  }
  </code></pre>
  
  <p><a href="http://htmlhelp.com/reference/html40/structure.html#elements" rel="nofollow noreferrer">Structure of an HTML 4 Document</a></p>
  
  <p>I have edited the class to be a bit more objective and specific</p>