title: WPF Command Line Arguments, a smart way?
body: <p>I'm looking for a way that I can parse command line arguments into my WPF application with just a way of reading the value of the argument that the user passed.</p>
  
  <p>As an example</p>
  
  <pre><code>application.exe /setTime 5
  </code></pre>
  
  <p>is there a way for me to have some code where I can just say:</p>
  
  <pre><code>MessageBox.Show(arg("setTime"));
  </code></pre>
  
  <p>Which will output <code>5</code></p>
  
  <p><strong>Working Solution</strong></p>
  
  <p><a href="http://sa.ndeep.me/post/how-to-create-smart-wpf-command-line-arguments" rel="noreferrer">How to create smart WPF Command Line Arguments</a></p>