C#C
C#11mo ago
0xcafebabe

difference between `struct` and `ref struct`

I got a little confused trying to understand the difference between a default struct and a ref struct, mainly about their behavior on stack and heap. Can someone break it down for me?
Was this page helpful?