title: What is the right way of getting my WinForms application's name?
body: <p>I could do this</p>
  <pre class="lang-cs prettyprint-override"><code>return Assembly.GetEntryAssembly().GetName().Name;
  </code></pre>
  <p>or</p>
  <pre class="lang-cs prettyprint-override"><code>return Path.GetFileNameWithoutExtension(Application.ExecutablePath);
  </code></pre>
  <p>Would both give the desired application name <em>always</em>? If so which is a more standard way of getting application name? If its still a no-win situation is there anything like one method is faster than the other? Or else is there any other right approach?</p>