Checking for "null" Guids
In .NET a Guid cannot be null (unless you use the
?
qualifier). However you may still want to check if a Guid has been set or not. For this you can use Guid.Empty
which looks for an all-zero Guid.
The journal of Paul M. Watson.
2 Comments:
no idea what a 'guid' is, but in Scottish (from Auld Scots probably) 'guid' is how you say/spell 'good'.
3:05 PM
hehe. Though techies tend to pronounce Guid as "goo-id". A Guid is a Globally Unique Identifier. It is a way of getting a 32 character ID that nobody else on the planet should duplicate.
3:26 PM
Post a Comment
<< Home