docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    C# language support

    Burst supports a subset of C#, which is referred to as High Performance C# (HPC#) in the Unity context.

    Topic Description
    HPC# overview Understand how HPC# works with Burst.
    C#/.NET type support Understand the supported C# features.
    C#/.NET System namespace support Understand what's supported in the System namespace.
    Static read-only fields and static constructor support Use static read-only fields and static constructors in Burst code.
    String support Use strings in Burst code.
    Calling Burst compiled code Call Burst compiled code from managed code.
    Function pointers Use function pointers to work with dynamic functions.
    SharedStatic struct Use SharedStatic to share static mutable data.

    Additional resources

    • Burst instrinsics overview
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)