DictionaryExtensions ToQueryString Method The WebApiClient Documentation
Converts the dictionary into a queryString type string

Namespace: WebApiRestService
Assembly: WebApiClient (in WebApiClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string ToQueryString(
	this IDictionary<string, Object> values
)

Parameters

values
Type: System.Collections.Generic IDictionary String, Object 
The dictionary containing key/value pairs

Return Value

Type: String
A string formatted as ?param1=value1&param2=value2

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionary String, Object . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also