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() => WriteLine(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"script.sql"));
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/84044/101
Success #stdin #stdout 0.02s 16032KB
stdin
Standard input is empty
stdout
/home/lvVcMq/script.sql