English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What is unsafe mode?

2006-10-08 19:38:59 · 1 answers · asked by je.nickp 1 in Computers & Internet Programming & Design

1 answers

You can use pointers just like in C++ although it is use is rare( perhaps only for dealing with older API's with Win32).

You can reference memory directly, add addresses, pass by reference etc.

All operations with pointers need to be within unsafe mode blocks. Pointer operations are dangerous because you can modify or delete memory of other variable/space, for this the compiler requires you to mark areas where you use them as unsafe.


The best explanation you can find in MSDN.

2006-10-08 21:11:58 · answer #1 · answered by Kilimanjaro 4 · 0 0

fedest.com, questions and answers