I am using msgbox to display simple one line msg to user.....
Code |
Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 27, 2010, 1:20 AM EDT
use either "\n" or Environment.NewLine to get new line in MessageBox.Show() method:
MessageBox.Show("This is some data \n use it to show "+ Environment.NewLine+"Some Message with new line effects");
Please mark as answer if it helps.