System.SpanTests.ReadOnlySpanTests.CtorArrayIntInt2 C# (CSharp) Méthode

CtorArrayIntInt2() private méthode

private CtorArrayIntInt2 ( ) : void
Résultat 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);
        }