Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# executable directory

var exeFile = System.Reflection.Assembly.GetExecutingAssembly().Location;
var exeDirectory = System.IO.Path.GetDirectoryName(exeFile);

Console.WriteLine($"Executable file: {exeFile}");
Console.WriteLine($"Executable directoy: {exeDirectory}");
Comment

PREVIOUS NEXT
Code Example
Csharp :: detecting a right click unity 
Csharp :: get string last character vb.net 
Csharp :: spawn a object with unity 
Csharp :: unity movetowards 
Csharp :: json stringify c# 
Csharp :: 3(x-4)-2(3x+4)=4(3-x)+5x+4 
Csharp :: decode base64 string c# 
Csharp :: create new gameobject unity 
Csharp :: Csharp convert string to double 
Csharp :: unity set position 
Csharp :: switch case c# range 
Csharp :: c# count number of occurrences in string 
Csharp :: how to get all files from folder and subfolders in c# 
Csharp :: c# check if element is last in list 
Csharp :: get date from file c# 
Csharp :: get remainder of number c# 
Csharp :: unity get project file directory 
Csharp :: how to move your character in unity 2d game 
Csharp :: move to another scene unity 
Csharp :: how to check if a number is even in c# 
Csharp :: base64decode C# 
Csharp :: c# adding two arrays together 
Csharp :: minheap c# 
Csharp :: if exist TempData[] c# 
Csharp :: How to Create Hint, PlaceHolder Text, Watermark In a TextBox vb.net 
Csharp :: c# null check can be simplified 
Csharp :: how to get element dictionary key in c# by index 
Csharp :: c# file exist 
Csharp :: unity get a position inside sphere 
Csharp :: c# how to exit program 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =