UrlEncodingEncode(String) Method

Converts a String to its escaped representation.

Definition

Namespace: FolkerKinzel.Strings
Assembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.5.0+6287955de434d14f61638ea0c3c40b499ae05cd1
C#
public static string Encode(
	string stringToEscape
)

Parameters

stringToEscape  String
The String to escape.

Return Value

String
The escaped representation of stringToEscape.

Exceptions

ArgumentNullExceptionstringToEscape is null.

See Also