Home > DeveloperSection > Forums > GUID in C#
John Smith

Total Post:102

Points:720
Posted on    October-11-2010 9:06 AM

 C# C# 
Ratings:


 2 Reply(s)
 1400  View(s)
Rate this:
How to generate GUID in C#?
Please provide me any sample.

Thanks in advance


Alex R
Alex R

Total Post:40

Points:280
Posted on    October-11-2010 9:16 AM

Hi John,

Here is an example to show how to generate GUID.

string uniqueId = Guid.NewGuid().ToString();


Modified On Oct-11-2010 09:18:06 AM

Awadhendra Tiwari

Total Post:126

Points:882
Posted on    October-07-2011 2:36 AM

Thanks Haider M Rizvi.

This is useful for me.

Thanks.

Don't want to miss updates? Please click the below button!

Follow MindStick