Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

paste large string in c#

Posted on 2009-07-08
2
216 Views
Last Modified: 2012-05-07
Hello,

I'm trying to paste a large block of html in a string in c#. I've tried using @"blabla" but for some reason it's not working (maybe because of all the quotes, even though I've escaped them?).

Is my only possibility to  enquote each line separately?

TIA
0
Comment
Question by:Feivi99
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 24808919
is there an error message? usually is related with an escape sequence
Always you have the possibility use use + sign in source code.
0
 

Author Comment

by:Feivi99
ID: 24809255
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question