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