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

CtorArrayInt2() private method

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