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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

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