Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
C# string : how to store data on a new line in string variable.
Prince Silva
Feb 1 2011 1:13 PM
2.4k
Reply
how to store data on a new line in string variable.
eg:
string str = "sentence 1";
str +="sentence 2";
Currrent output :
sentence 1 sentence 2
Desired Output :
sentence 1
sentence 2
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
convert number (for example 22.00) to 2000 with no decimal
Getting richtextbox to load .txt files and .rtf files