|
-
Nov 12th, 2007, 01:43 PM
#1
[2.0] "Unsafe" code?
A little behind the point, probably, as I'm already using it.. but I'm still curious as to exactly what it is and why it's unsafe. As it is right now, I'm using unsafe code for drawing pixels. Pointer uints and the like. I know I have to declare it an unsafe class and compile it as unsafe for it to operate correctly, but why is it unsafe?
My best guess tells me that its unsafe because I'd be bypassing the OS for memory management and using the pointers to directly access blocks of memory. Is this close?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|