5YrsLaterDBA 5YrsLaterDBA - 9 months ago 74
C# Question

C# how to create a Guid value?

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

Answer
Guid id = Guid.NewGuid();