36.1.3.Using unsafe and fixed |
|
- Any code that uses pointers must be marked as unsafe by using the unsafe keyword.
- You can mark an individual statement or an entire method unsafe.
|
- The fixed modifier is often used when working with pointers.
- The fixed modifier prevents a managed variable from being moved by the garbage collector.
|