Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# define a block as text

var html = @"<html>
<body>
    <span id=""name""> somethnig more</span>
</body>
</html>";

Placing @ before a string means that the contents should not be parsed 
(
 and other control characters do not work). It also means that the 
string can span over multiple lines and have 
" in it, as long as you write "" (only one will be displayed).
 
PREVIOUS NEXT
Tagged: #define #block #text
ADD COMMENT
Topic
Name
4+8 =