c# - Best way to write code in a string -


i'm trying make 'code database' , multiple line code breaks string. need code type string span multiple lines.

my final goal able click button, , textbox loads 40+ lines of code.

if want hard code multi-line string, add @ symbol before. should allow span multiple lines.

string example =  @"this multiline string."; 

Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -