Mega Code Archive
Categories
/
C# Tutorial
/
Unsafe
Unsafe Methods
using System; public class MyClass { public unsafe static void Main() { int MyInteger = 123; int * MyIntegerPointer = &MyInteger; Console.WriteLine(*MyIntegerPointer); } }