Answers for "c# get path of current script"

C#
1

get program path c#

using System;
class Program
{
  static void Main(string[] args)
  {
  string path;
  path = AppDomain.CurrentDomain.BaseDirectory;
  }
}
Posted by: Guest on March-03-2021
0

c# how to get a file path from user

FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.Description = "Custom Description"; 

if (fbd.ShowDialog() == DialogResult.OK)
{
    string sSelectedPath = fbd.SelectedPath;
}
Posted by: Guest on May-31-2020

Code answers related to "c# get path of current script"

C# Answers by Framework

Browse Popular Code Answers by Language