title: Application path in General class (.CS)
body: <p>Hi i want to get applcation path in one seperate class used in my XAML,WPF applcation.
  In Animals.cs,  </p>
  
  <pre><code>string aPath2 = Application.StartupPath;
   MessageBox.Show(path);
  </code></pre>
  
  <p>It shws error
  <strong><em>error CS0117: 'System.Windows.Application' does not contain a definition for 'StartupPath'</em></strong></p>
  
  <p>I have to give data to treeview,im taking that all details from file in applcation path.</p>