What is the best way to get the application name (i.e MyApplication.exe) of the executing assembly from a referenced class library in C#?
I need to open the applicat
You can get the assembly through the class type...
typeof(MyClass).Assembly