Category Archives: Tuples

Tuples rock my world

Value types in the .NET framework tend to have a static TryParse method for converting a string to a typed value.  Well, most of them do, the Guid type doesn’t for some reason.  The method takes a string and an output parameter for the result.
Output parameters suck and require a local variable to be passed [...]