I know that struct is a value type, which means it is defined on the stack.
But I can do A a = new A (); (Of course, my structure). and it is defined on the heap, and only the reference variable is on the stack.
Can you please explain this to me.
source
share