As I able to corrupt the memory using unsafe code in C#?

  • Thread starter Thread starter babylon
  • Start date Start date
B

babylon

just like invalid pointer referencing in C++?

it seems to me so as unsafe code should prevent the runtime from checking
the memory location for performance issue, right?
 
Yes, with unsafe code you can write to any memory location.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top