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