Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# get current directory

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

get current directory c#

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Comment

how to get current dir in c#

Environment.CurrentDirectory
Comment

PREVIOUS NEXT
Code Example
Csharp :: xamarin hide back button 
Csharp :: visual studio c# color dialog 
Csharp :: csharp sleep code 1 second 
Csharp :: forech unity 
Csharp :: how to add a queue unity 
Csharp :: c# print exception stack trace 
Csharp :: c# print multiplication table 
Csharp :: c# web api return image file 
Csharp :: c# list with 0 initialize 
Csharp :: mvc get base url 
Csharp :: unity key down 
Csharp :: unity c# foreach 
Csharp :: how to install jdk on linux manjaro 
Csharp :: OnMousedown unity ui 
Csharp :: response redirect new tab 
Csharp :: letter at index of string c# 
Csharp :: press key run code unity c# 
Csharp :: Razor if-else statement 
Csharp :: Unity Children Destroy 
Csharp :: c sharp thread lambda 
Csharp :: how to add item in list at first position c# 
Csharp :: c# bitmap to array byte 
Csharp :: route attribute controller with parameter asp.net core 
Csharp :: unity audio 
Csharp :: c# performance timer 
Csharp :: webclient timeout 
Csharp :: convert string to jtoken c# 
Csharp :: relaycommand 
Csharp :: difference between boxing and unboxing in c# 
Csharp :: unity check if camera can see object 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =