src/openSourceC.DotNetLibrary.Core/Extensions/StringBuilderExtensions.cs
/// <summary>
///		Appends a Unicode character array to the parameters collection.
/// </summary>
/// <param name="stringBuilder">The <see cref="StringBuilder"/> object.</param>
/// <param name="key">The query-string key.</param>
/// <param name="value">The query-string value.</param>
/// <param name="defaultValue">The query-string default value, used if value is null or
///		empty. (optional)</param>
/// <returns>
///		The modified <see cref="StringBuilder"/> object.
/// </returns>
Appends a Unicode character array to the parameters collection.
Appends a Unicode character array to the parameters collection .
public static StringBuilder AppendQueryStringPair(this StringBuilder stringBuilder, string key, char[]? value, char[]? defaultValue = null)
		{
			if ((value ??= defaultValue) is not null)
			{
				return stringBuilder.AppendQueryStringPair(key, new string(value!));
			}
			return stringBuilder;
		}
public static StringBuilder AppendQueryStringPair ( this StringBuilder stringBuilder , string key , char [ ] ? value , char [ ] ? defaultValue = null ) { if ( ( value ??= defaultValue ) is not null ) { return stringBuilder . AppendQueryStringPair ( key , new string ( value ! ) ) ; } return stringBuilder ; }
Appends a Unicode character array to the parameters collection.
Appends a Unicode character array to the parameters collection .
The modified  object.
The modified object .
StringBuilder
this
key
string
The query-string key.
The query - string key .
value
char[]?
The query-string value.
The query - string value .
defaultValue
char[]?
The query-string default value, used if value is null or
empty. (optional)
The query - string default value used if value is null or empty . ( optional )
stringBuilder
None