So in C# the switch statement only supports integral types (not Guids), so a simple O(1) comparison table doesn't look possible.
What is the most computationally efficient way to match on a Guid
At first I thought
if(gMyGuid == new Guid("VALUE"))
else if (gMyGuid == new Guid("VALUE2")
else if (gMyGuid == new Guid("VALUE3")
...
else if (gMyGuid == new Guid("VALUEn")
However by doing this I'm creating a new instance of the Guid each time for a comparison. I could convert the Guid to a string then compare on the string but the string comparison is a pretty long string for comparison.
Any advise is gratefully received.