Declaring a nullable GUID
suggest changeLike other value types, GUID also has a nullable type which can take null value.
Declaration :
Guid? myGuidVar = null;
This is particularly useful when retrieving data from the data base when there is a possibility that value from a table is NULL.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents