System.SpanTests.ReadOnlySpanTests.CtorArrayIntInt2 C# (CSharp) Method

CtorArrayIntInt2() private method

private CtorArrayIntInt2 ( ) : void
return void
        public static void CtorArrayIntInt2()
        {
            long[] a = { 90, 91, 92, 93, 94, 95, 96, 97, 98 };
            ReadOnlySpan<long> span = new ReadOnlySpan<long>(a, 4, 3);
            span.Validate<long>(94, 95, 96);
        }