Reposted by Jean-Philippe Bempel
I published a new article: the hidden trap of fixed buffers in C#. It explains a quirk of fixed buffers that could easily bite you, if you're one of the few people who still have to use that feature.
minidump.net/the-hidden-t...
minidump.net
The hidden trap of fixed buffers in C#
After all, if they’re marked as unsafe, there’s gotta be a reason, right?