Working with unsafe code in C#
Sometimes it is necessary to access pointer
types like when interfacing with the underlying operating system, accessing
a memory-mapped device, or implementing a time-critical algorithm. C# allows
the writing of C code within a C# program, this code however must be marked
as unsafe by the programmer with the modifier ‘unsafe’.