Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 5d7ec0e

Browse files
author
sornaks
committed
Changing QueryHelpers.AddQueryString to use Array instead of List.
1 parent b8af07e commit 5d7ec0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNet.WebUtilities/QueryHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static class QueryHelpers
2121
public static string AddQueryString([NotNull] string uri, [NotNull] string name, [NotNull] string value)
2222
{
2323
return AddQueryString(
24-
uri, new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>(name, value) });
24+
uri, new [] { new KeyValuePair<string, string>(name, value) });
2525
}
2626

2727
/// <summary>

0 commit comments

Comments
 (0)