<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />

HttpValueCollection

public class HttpValueCollection : IEnumerable<KeyValuePair<string, string>>, IEnumerable
NameValueCollection to represent form data and to generate form data output.
public int Count { get; }

Gets the number of names in the collection.

public string this[string name] { get; }

Gets the values associated with the specified name combined into one comma-separated list.

Creates a new HttpValueCollection instance

public void Add(string name, string value)

Adds a name-value pair to the collection.

public string Get(string name)

Gets the values associated with the specified name combined into one comma-separated list.

public IEnumerator<KeyValuePair<string, string>> GetEnumerator()

public string[] GetValues(string name)

Gets the values associated with the specified name.