DuraSoft
.NET-34
Unsafe vs. Unmanaged Code
•Unmanaged Code:
–this is not executed under the tight supervision of CLR
•no garbage collection
•limited debugging capabilities
–Useful to call Platform Specific functions
–
•Unsafe Code:
–this is managed code!
–it simply uses some constructs (like pointer usage) that C# does not encourage