This keeps me wondering why Guid in .NET does not have IsNullOrEmpty()
method (where empty means all zeros)
I need this at several places in my ASP.NET
You know I see this statements like this one all the time
Guid is a value type, so a variable of type Guid can't be null to start with
but it is just NOT TRUE.
Agreed you can not programmatic set a Guid to null, but when some SQL pulls in a UniqueIdentifier and maps it to a Guid, and if that value is null in the db, the value comes up as null in the C#.