fork download
  1. using static System.Console;
  2. using System.IO;
  3. using System.Reflection;
  4.  
  5. public class Program {
  6. public static void Main() {
  7. WriteLine(Path.Combine(Directory.GetCurrentDirectory(), @"EmailTemplate/email.html"));
  8. WriteLine(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"EmailTemplate/email.html"));
  9. }
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/54119/101
Success #stdin #stdout 0.02s 16228KB
stdin
Standard input is empty
stdout
/home/Nu3u5G/EmailTemplate/email.html
/home/Nu3u5G/EmailTemplate/email.html