[]
public static string HtmlEncode(string s)
| Type | Name | Description |
|---|---|---|
| string | s |
| Type | Description |
|---|---|
| string |
HTML-encodes a string and sends the resulting output to a TextWriter output stream.
public static void HtmlEncode(string s, TextWriter output)
| Type | Name | Description |
|---|---|---|
| string | s | The string to encode. |
| TextWriter | output | The TextWriter output stream containing the encoded string. |