Your daily dose of C# shit.
ALT Code that manually converts a TimeSpan to milliseconds instead of using the TotalMilliseconds property.
ALT A C# switch statement that calls the same method for each case, passing just the case value.