String.Join return × instead of times?

.net, asp.net, c#, string

Solution

Your join is putting the text `&times` into the string which is being encoded into `x` because `&times` is a html named special character

Problem

This is my code: ``` var signature_parameters = new SortedDictionary<string, string>() { { "client_id", client_id }, { "timestamp", timestamp }, }; var signature_base_string = string.Join("&", signature_parameters.Select(p => string.Format("{0}={1}", p.Key, p.Value))); Response.Write(signature_base_string); ``` which prints `client_id=2446782×tamp=1291723521` What is ×?

Original source

Related problems