Why structures are allocated in stack?
Hi,
Just started learning C#. Trying to figure out the difference between structure and classes in C#.
Most of the documents say that structures are allocated in stack. Is it true? Is there any specific reason
for doing so?
Please clarify
Thanks in advance.