I was trying to practice the use of pointers in C #, so I created a website in the following method:
public static Nodo[] MontaTree(){ //... código ... }
Obviously the above code does not make it possible to use pointers, so we need keyword unsafe
. I put it in the method, leaving the signature like this:
public static unsafe Nodo[] MontaTree(){ //... código ... }
But I received the following message when compiling:
Unsafe code may only appear if compiling with / unsafe
When searching for Google, the solution seemed simple: Just turn on the Allow unsafe code
option on the Build tab within the project properties, but I can not find this option anywhere in my project, as the image shows:
Does anyone know if I'm doing something wrong? Where is this option on VS2015? Or is it not possible on WebSites?