C# how to create a Guid value? – Stack Overflow

To create a GUID just use the code below: var newGuid = System.Guid.NewGuid(); To parse a GUID string as a GUID, use the code below: var parsedGuid = System.Guid.Parse(guidString); If you just want to create a new guide and just use it in your application, just use one of the online GUID Generator tools online to create yourself a new guid.

Read More