title: How do I make c# ignore letter case
body: <p>Here I have some simple C# code;</p>
  
  <pre><code>Console.WriteLine("Enter Name");
  var name = Console.ReadLine();
  if (name == "ashley")
  {
      Console.WriteLine("You entered: " + name);
  }
  Console.Read();`
  </code></pre>
  
  <p>If the user enters ashley it will display "You entered ashley". However if the user enters Ashley or AsHlEy it won't work. What do I need to add to this or how to format so it will ignore the case?</p>