Search code examples
c#hashenumerationxml-documentation

What's the meaning of the hashes at Enumerations?


I use GhostDoc for the XML-Documentation of my code, and it has a neat "auto-document"-function I use quite often, so now I used it on an enumeration and it came up with some strange hash-code I don't quite understand.

What is it for? Looks sort of like this:

{35A90EBF-F421-44A3-BE3A-47C72AFE47FE}


Solution

  • this is a String representation of a Guid. See the System.Guid type for more details.

    Guids are essentially random codes (some types of Guids depend on MAC-Address or time though) which is so unlikely to occur again in this corner of SpaceTime that is can be considered to be unique in all Creation.