title: How do you call a method from static main()?
body: <p>I have a console application with a <code>Main</code> method and a function.</p>
  
  <p>How can I make a function call from the <code>Main</code> method?</p>
  
  <p>I know the code below won't work</p>
  
  <pre><code>static void Main(string[] args)
  {            
     string btchid = GetCommandLine();// GetCommandline is a mthod which returns a string
  }
  </code></pre>