c# 7 tuples . not able to use tuples in mac dotnet core 1.1
<p>I am trying to implement tuples c# 7 new feature in Visual Studio Code in macOS.</p>

<pre><code>   using System;
   using System.Collections.Generic;

   namespace newcsharp
   {
    public class Program
    {
        public static void Main(string[] args)
        {
            int[] numbers = { 1, 3, 4, 10, 6, 20, 78, 15, 6 };
            var result = Range(numbers);
            Console.ReadLine();
        }

        private static (int Max, int Min) Range(IEnumerable&lt;int&gt; numbers)
        {
            int min = int.MaxValue;
            int max = int.MinValue;
            foreach (var n in numbers)
            {
                min = (n &lt; min) ? n : min;
                max = (n &gt; max) ? n : max;
            }
            return (max, min);
        }
      }
   }
</code></pre>

<p>I am getting the following erros.
<a href="https://i.stack.imgur.com/UJ2qE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UJ2qE.png" alt="enter image description here"></a></p>

<p>I included System.ValueTuple package for using tuples feature in my project.</p>

<p>My project.json </p>

<pre><code>{
  "version": "1.0.0-*",
  "buildOptions": {
    "emitEntryPoint": true
  },
  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.1.0"
    },
    "System.ValueTuple": "4.3.0"
  },
  "frameworks": {
    "netcoreapp1.1": {
      "imports": "dnxcore50"
    }
  },
  "tooling": {
    "defaultNamespace": "newcsharp"
  }
}
</code></pre>

<p>any help appreciated. </p>