how to get the startup path in console app

Code Example - how to get the startup path in console app

                
                        var GetDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);