title: C# String and string. Why is Visual Studio treating them differently?
body: <p>If I create a normal Console App with a normal Main entry point as follows</p>
  
  <pre><code>using System;
  
  namespace ConsoleApp
  {
      public class Program
      {
          public static void Main(string[] args)
          {
              // do stuff
          }
      }
  }
  </code></pre>
  
  <p>then select it in visual studio everything is fine..</p>
  
  <p><a href="https://i.stack.imgur.com/MXc1C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MXc1C.png" alt="enter image description here"></a></p>
  
  <p>However, if I write the code as follows...</p>
  
  <pre><code>using System;
  
  namespace ConsoleApp
  {
      public class Program
      {
          public static void Main(String[] args)
          {
              // note the capital S in String
          }
      }
  }
  </code></pre>
  
  <p>then everything is not fine....</p>
  
  <p><a href="https://i.stack.imgur.com/alxlr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/alxlr.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know why is it not picking up the String[] but happy with the string[] please ?</p>
  
  <p><em>edit</em>: Extracting from comments, it appears to be a bug in Visual Studio 2012 and 2013. Presumably it's also present in earlier editions but appears to have been rectified in VS2015. It's not a problem per se, and as noted the code still compiles <em>and executes</em> with either string[] or String[] I'd be interested to know the cause of the bug in VS though. I'd imagine the property editor window isn't <code>Using System;</code> ?</p>