Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Runtime.CompilerServices
  3. RuntimeHelpers
  4. GetSubArray<T>(T[], Range)
  • RuntimeHelpers
    • CleanupCode
    • TryCode
    • OffsetToStringData
    • AllocateTypeAssociatedMemory(Type, Int32)
    • Box(Byte, RuntimeTypeHandle)
    • CreateSpan<T>(RuntimeFieldHandle)
    • EnsureSufficientExecutionStack()
    • Equals(Object, Object)
    • ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, Object)
    • GetHashCode(Object)
    • GetObjectValue(Object)
    • GetSubArray<T>(T[], Range)
    • GetUninitializedObject(Type)
    • InitializeArray(Array, RuntimeFieldHandle)
    • IsReferenceOrContainsReferences<T>()
    • PrepareConstrainedRegions()
    • PrepareConstrainedRegionsNoOP()
    • PrepareContractedDelegate(Delegate)
    • PrepareDelegate(Delegate)
    • PrepareMethod(RuntimeMethodHandle)
    • PrepareMethod(RuntimeMethodHandle, RuntimeTypeHandle[])
    • ProbeForSufficientStack()
    • RunClassConstructor(RuntimeTypeHandle)
    • RunModuleConstructor(ModuleHandle)
    • SizeOf(RuntimeTypeHandle)
    • TryEnsureSufficientExecutionStack()
net6.0-windows
namespace System.Runtime.CompilerServices
{
    public static class RuntimeHelpers
    {
        public static T[]! GetSubArray<T>(T[]! array, Range range);
    }
}
nuget.org
0.0 %
Reference this API
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Standard
2.1
Information specific to net6.0
Assembly

System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to System.Runtime.Experimental.

Package System.Runtime.Experimental (6.0.2) net6.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙