2

Visual Studio is shipped with a Create GUID tool that is used for generating GUIDs. Now here's a GUID it generated for me:

{7A09BF85-9E98-44ea-9AB5-A13953E88C3D}

each of the 4 GUID parts contains both letters and digits. Why does the third part contain only lowercase letters and other only upcase letters? Is there any sence behind that?

sharptooth
  • 167,383
  • 100
  • 513
  • 979
  • hmmm, never actually noticed that. But still its a GUID and you'll be mostly using it for definitions so I guess you wont do any case sensitive string comparison with it. – Zaid Amir Oct 16 '09 at 09:45
  • Nice observation. That's hilarious. – Heath Hunnicutt Oct 16 '09 at 09:46
  • Another nice observation that every 3rd part begins with "4". I mean: XXXXXXXX-XXXX-4XXXX-.... {567E1ECB-EA1C-42d3-A3ED-87A5D824D167} {20B3D050-1BC5-4d40-85F4-58482018404C} – Restuta Oct 16 '09 at 09:48
  • 1
    Restuta: That's the UUID version number. See http://en.wikipedia.org/wiki/Universally_Unique_Identifier – Joey Oct 16 '09 at 09:52
  • oh, I've found explanation of my observaton, it is posted here: http://en.wikipedia.org/wiki/Universally_Unique_Identifier as for VS I think it is just tricky implementation =) – Restuta Oct 16 '09 at 09:53

1 Answers1

1

See the accepted answer by John Feminella to this question, in which he links to this MS Connect bug report (which, by the way, MS has promised to have solved "in the next release" of VS).

Community
  • 1
  • 1
Tom Juergens
  • 4,492
  • 3
  • 35
  • 32