Changing QueryHelpers.AddQueryString to use Array instead of List.

This commit is contained in:
sornaks 2015-08-03 11:08:54 -07:00
parent b8af07e3c1
commit 5d7ec0e2c6
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace Microsoft.AspNet.WebUtilities
public static string AddQueryString([NotNull] string uri, [NotNull] string name, [NotNull] string value) public static string AddQueryString([NotNull] string uri, [NotNull] string name, [NotNull] string value)
{ {
return AddQueryString( return AddQueryString(
uri, new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>(name, value) }); uri, new [] { new KeyValuePair<string, string>(name, value) });
} }
/// <summary> /// <summary>