Creating UIDs in C#

Everytime you want to create a UniqueID, don’t bother with hashing or using a random number generator… Instead, use the System.Guid.NewGuid() function to generate a 128-bit integer.
Read more about using the GUID creation function, with examples.



Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>