Nuget QueryStringBuilder

A simple tool to help you build query string in html

Please take a look at Nuget page


var qsb = new QueryStringBuilder();
qsb.Add("name", "value");
qsb.Add("name1", "value1");
qsb.Build(); // returns "?name=value&name1=value1"

Available Functions

void Add(string key, object value);
bool TryAdd(string key, object value);
string Get(string key);
bool Exist(string key);
void Remove(string key);
int Count();
string Build();

Install from Package Manager

Install-Package QueryStringBuilder -Version 1.0.2

Leave a Reply

Your email address will not be published. Required fields are marked *