How to get the GUID in C#?

Posted by Poster under C# category on | Views : 6106
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();


Comments or Responses

Login to post response