Just explain why you need to call NewGuid and not use the default constructor ... In .NET, all structures (value types such as int, decimal, Guid, DateTime, etc.) must have a constructor without parameters without parameters, which initializes all fields by default. In the case of Guid, the bytes that make up Guid are zero. Instead of making a special case for Guid or making it a class, they use the NewGuid method to generate a new βrandomβ guide.
Josh May 24 '09 at 15:51 2009-05-24 15:51
source share