Get GUID : Guid : Development C# Examples


C# Examples » Development » Guid »

 

Get GUID









    
using  System;


        public  class  MainClass
        {


                static  void  Main(string[]  args)
                {
                        Guid  id  =  Guid.NewGuid();

                        System.Console.WriteLine(  id  );
                }
        }
    
   
  
   



Output

287f0805-b2a5-402c-983e-83111118518c


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Guid