.NET 7 introduced a new static class called NativeMemory, which can be used to allocate unmanaged memory. Normally when working with arrays in C#, the .NET runtime manages the allocation of memory and frees it when it's no longer used, hence the name...
Markdown supported · ⌘↵ to post
No responses yet.