Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
C# string : how to store data on a new line in string variable.
Prince Silva
13y
2.4k
1
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
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