So I am looking at the following example (http://zetcode.com/lang/csharp/arrays/), titled "c# array slices". When I copy and paste the following example in Microsoft Visual Studio:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
    namespace s_Sandbox
    {
        class Program
        {
            static void Main(string[] args)
            {
                int[] array = new int[] { 1, 2, 3, 4, 5 };
                array[1..2];
            }
        }
    }
There is a red underline under [1..2] and I get a Syntax error, "," expected ... why is this? What am I missing?
 
    