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

Code Example 1

//This path contains the .exe file
System.Reflection.Assembly.GetEntryAssembly().Location;

Learn ReactJs, React Native from akashmittal.com