4

Occasionally when I generate a GUID using visual studio, the 14th hex character is lowercase while the rest of the hex digits are uppercase.

Cause a bit of problem when comparing the string representations of two GUIDs. Now I always compare the binary equivalents to be safe.

Kevin Newman
  • 2,437
  • 1
  • 15
  • 12

1 Answers1

12

Yes, this is a known bug. But you shouldn't be making string comparisons; use Guid.Equals instead.

John Feminella
  • 303,634
  • 46
  • 339
  • 357