Arrays, heap and stack and value types
Your array is allocated on the heap, and the ints are not boxed. The source of your confusion is likely because people have said that reference types are allocated on the heap, and value types are allocated on the stack. This is not an entirely accurate representation. All local variables and parameters are allocated on … Read more