c# get path of current app code example Example: get application path c# System.Reflection.Assembly.GetExecutingAssembly().Location