title: How to set .NET Core in #if statement for compilation
body: <p>I created a multi-targeted framework project. I use something like this:</p>
  
  <pre><code>  #if NET40
      Console.WriteLine("Hello from .NET Core 4");
    #endif
  </code></pre>
  
  <p>But I can't find a wildcard for .NET Core. I tried:</p>
  
  <pre><code>   #if NETCOREAPP1.0
       Console.WriteLine("Hello from .NET Core");
     #endif
  </code></pre>
  
  <p>But it is not valid statement.</p>