Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 14246 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > C# > How to get the GUID in C#? ...
Poster

How to get the GUID in C#?

 Code Snippet posted by: Poster | Posted on: 5/24/2009 | Category: C# Codes | Views: 4077 | Status: [Member] | Alert Moderator   
Ads

GUID (Globally Unique Identifier) is a 128-bit integer that can be used to uniquely identify something. You can guarantee that every time you generate the GUID it will be unique.

To get the GUID, you can use following code

string unique =  System.Guid.NewGuid().ToString();


Thanks
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/19/2013 5:24:47 PM