You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a query
...
varqueryString=HttpUtility.ParseQueryString(string.Empty);
queryString["q"] =userQuery;
varquery="https://api.bing.microsoft.com/v7.0/search?"+queryString;
...
the code is depending on an implementation of ToString() in a private class HttpQSCollection, which is never descripted in any documents. NameValueCollection was never guaranteed returning a query string liked string.
By the context, the code can be easily replaced by
In the document:
the code is depending on an implementation of
ToString()
in a private classHttpQSCollection
, which is never descripted in any documents.NameValueCollection
was never guaranteed returning a query string liked string.By the context, the code can be easily replaced by
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: