Unsafe Methods : Unsafe : Unsafe C# Examples


C# Examples » Unsafe » Unsafe »

 

Unsafe Methods









    
using  System;
      
public  class  MyClass
{
        public  unsafe  static  void  Main()
        {
                int  MyInteger  =  123;
                int  *  MyIntegerPointer  =  &MyInteger;
      
                Console.WriteLine(*MyIntegerPointer);
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Unsafe
» Unsafe