C# how to create a Guid value?

One field of our struct is Guid type. How to generate a valid value for it?

12 s
12

Guid id = Guid.NewGuid();

Leave a Comment