I'm reading about unsafe code, primarily for working with Bitmaps. I can't find, however, an explanation of the limits of unsafeness. I understand that using pointers on an array will not be checked so I might try accessing memory outside of its bounds. So far so good. But what if I do access that memory. What happens? Might I be changing other variables' values? Or even change the program's binary code? Or just raise an exception?
I'd like to know what's the worst that can happen before I decide to use unsafe code.