Questions about GUID's: Are they always fixed in length, and is the middle number always 4?
问题 I just generated a few million GUID's turned them into a String and got the length... it was always the same. Can I rely on this fixed length of the GUID when converting to String? Also, is the middle number of the GUID always "4" as shown in this screenshot? 回答1: Yes, the length is fixed and yes, the middle number is always 4 when you use the standard tostring format. Some of the bits in GUID (known as a UUID almost anywhere that isn't windows) are fixed to indicate things like version etc..