csharp current dir

Code Example - csharp current dir

                
                        string appPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
                    
                
 

csharp get current directory

                        
                                string currentDir = System.IO.Directory.GetCurrentDirectory();
//returns the current directory of the application when executing
                            
                        
 

Related code examples