how to generate a guid code example
Example 1: generate guid c#
Guid g = Guid.NewGuid();
string guid = Guid.NewGuid().ToString();
Example 2: unique identifier guid example
GUID
------------------------------------
3297F0F2-35D3-4231-919D-1CFCF4035975
(1 row affected)