Click or drag to resize

HelperToCSharpVerbatimLiteral Method

Returns the input as a C# verbatim string literal (@"..."), safe to insert in a script compiled by Razor: only the double quote is special in a verbatim string and it is doubled (a backslash stays a plain character).

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntax
C#
public static string ToCSharpVerbatimLiteral(
	string input
)

Parameters

input  String
 

Return Value

String
See Also