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

It’s really easy. The .Net framework provides an in-built function to create and parse GUIDS. This is available in the System namespace and the static Guid class. 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 …

Read More