+ 1

How to compile unsafe C# code on playground

Hi all, I'd like to run the attached code but I get the following error: ..\Playground\(17,28): error CS0227: Unsafe code may only appear if compiling with /unsafe I solved this problem on Visual Studio by allowing unsafe compiling but I wonder if there is a way to do the same on Sololearn. Thank you.

25th Dec 2018, 4:11 PM
Giovanni Pintus
Giovanni Pintus - avatar
2 Respuestas
+ 2
You cannot run the system related process code in the sololearn as it effects the application and it has been blocked. http://www.techslaim.com
25th Dec 2018, 4:13 PM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar
+ 1
Hi Adarsh.n. Bidari, thanks for your explanation.
25th Dec 2018, 7:50 PM
Giovanni Pintus
Giovanni Pintus - avatar