c# get program filepath code example
Example: get program path c#
using System;
class Program
{
static void Main(string[] args)
{
string path;
path = AppDomain.CurrentDomain.BaseDirectory;
}
}
using System;
class Program
{
static void Main(string[] args)
{
string path;
path = AppDomain.CurrentDomain.BaseDirectory;
}
}