2016-03-28 09:32:31 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace ConsoleApplication
|
|
|
|
|
{
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
#if NET451
|
2016-03-28 11:18:59 +00:00
|
|
|
|
Console.WriteLine($"Hello {string.Join(" ", args)} From .NETFramework,Version=v4.5.1");
|
2016-03-28 09:32:31 +00:00
|
|
|
|
#elif NETSTANDARD1_5
|
2016-03-28 11:18:59 +00:00
|
|
|
|
Console.WriteLine($"Hello {string.Join(" ", args)} From .NETStandardApp,Version=v1.5");
|
2016-03-28 09:32:31 +00:00
|
|
|
|
#endif
|
2016-04-06 03:13:06 +00:00
|
|
|
|
Console.WriteLine($"Base Directory - {AppContext.BaseDirectory}");
|
2016-03-28 09:32:31 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|