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 St
From the documentation on Guid.ToString (with no parameters):
The value of this Guid, formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where the value of the GUID is represented as a series of lowercase hexadecimal digits in groups of 8, 4, 4, 4, and 12 digits and separated by hyphens. An example of a return value is "382c74c3-721d-4f34-80e5-57657b6cbc27".
So the answer is "yes", it will always be the same length.
As for the 4, it is a version number (according to http://en.wikipedia.org/wiki/Uuid). Every GUID that you generate with that algorithm will have a 4 in that position, but older GUIDs will have a 1, 2, or 3. Future ones might have a 5 or something higher.