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

CtorArrayInt1() private method

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