What is an alternative way of giving a Line Break in C# Windows Application?

 Posted by vishalneeraj-24503 on 5/7/2014 | Category: Windows Forms Interview questions | Views: 3254 | Points: 40
Answer:

We have also an Environment.NewLine static method which gives a Line Break.

For Example:-
string str = "This is \r\n a Dot Net Funda website" + Environment.NewLine + "Hello World";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response