Dura Soft
.NET-35
Unsafe Code
•CLR manages memory
•Java does not allow pointer manipulation
•C# derived from C++, wants to allow it, however with caution
•Code that manipulates pointers may lead to memory leaks, etc.
•C# declares the section of code that manipulates pointers as unsafe!
–your take care of memory management when within this block of code – allows you to use pointers
•To prevent GC use the fixed keyword to pin