NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Unsafe and Fixed

C# statements execute in either a safe or an unsafe context. Safe context is the default, but any code using pointers requires unsafe context.

Once you have a pointer to a variable, you must ensure that the variable isn't moved in memory by the garbage collector. In C# you can "pin" a variable using the fixed statement.

See Also

C# Keywords | Statements