I need an output as follows:
/"
i want the above o/p. how can i write the code? please help me. Thanks in advance.
MessageBox.Show(" /" "); --> it displays error.
Thanks,
AP
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
Prakash ChasiyaRank #1,041 · 1.8K reputationPosted Mar 14, 2018, 6:39 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 14, 2018, 6:04 AM EDT
Nikunj SatasiyaRank #302 · 8.3K reputationPosted Mar 14, 2018, 3:54 AM EDT
Sagar Pandurang KapRank #606 · 4K reputationPosted Mar 14, 2018, 3:00 AM EDT
"/""in C# code. That will produce the "New Line in Constant" error because it 'escapes' the second quote so that it doesn't count. And the string isn't closed.