© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
107 replies
0xcafebabe

Arrays of floats in stack

I'm creating a structure to represent a 4x4 matrix and want it to be, at least, allocated entirelly on the stack. I also need to be able to get the array pointer in a unsafe context.
There is some way to store a array-like value like this on the stack instead of the heap?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

Newbie question: Decleration of stack vs Arrays
C#CC# / help
2y ago
Use of inline arrays to model arrays of structs
C#CC# / help
6mo ago
❔ Sizing of Byte Arrays
C#CC# / help
3y ago
max function in arrays
C#CC# / help
3y ago