title: The use of CommandLineArgs in visual studio
body: <p>So im trying to use CommandLineArgs.Count and CommandLineArgs.ToArray
  If searched on the internet and they all say you use My.Application.CommandLineArgs but that does not work for me.</p>
  
  <p>This is the error im getting</p>
  
  <blockquote>
    <p>Error 1   The name 'My' does not exist in the current
    context   C:\Users\Nighel\Documents\Visual Studio
    2013\Projects\SOF_SCRIPT\SOF_SCRIPT\GUI.cs    119 17  SOF_SCRIPT</p>
  </blockquote>
  
  <pre><code>        if (My.Application.CommandLineArgs.Count &gt; 0)
          {
              string[] strArray = My.Application.CommandLineArgs.ToArray&lt;string&gt;();
              s = strArray[0];
              if ((strArray.Length == 3) | (strArray.Length == 4))
              {
              }
          }
  </code></pre>