Closed GroophyLifefor closed 1 year ago
No, it's not related to this project. Your code tries to write to some random place in memory that is protected by OS.
Pointers are allowed in C#, but then you need to know (that's why unsafe
is needed) what you are doing (and this is not a valid usage).
Can you give an example of correct usage? it could be anything, i wonder why that way.
Here's description + examples: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/unsafe-code#pointer-types
Version
0.4.0
What happened?
I don't think this is related to this project, but this code causes error including unsafe, I was wondering what is causing the error? and why does the compiler allow it?
Trace