Check out example codes for "c# windows application get current path". It will help you in understanding the concepts better.

Code Example 1

System.IO.Path.GetDirectoryName(Application.ExecutablePath);

Learn ReactJs, React Native from akashmittal.com