static void Main(string[] args) { try { Console.WriteLine("Hello World from FW"); var w = new WorkerStd(); Console.WriteLine(w.CheckFile(@"c:\tmp\test.log")); } catch (Exception e) { Console.WriteLine(e); } }
static void Main(string[] args) { try { Console.WriteLine("Hello World from Core"); var w = new WorkerStd(); int b = w.Dummy0(5); Console.WriteLine($"res={b}"); string path = args.Length >= 1 ? args[0] : @"c:\tmp\test.log"; Console.WriteLine(w.CheckFile(path)); string test = "Abcd"; Console.WriteLine($"{test} => {w.CheckStartWithA(test)}"); Console.WriteLine("Waiting for key"); Console.ReadKey(); } catch (Exception e) { Console.WriteLine(e); } }