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

CtorArrayIntInt1() private method

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