C# Programming - Namespaces - Discussion

Discussion Forum : Namespaces - General Questions (Q.No. 9)
9.
Which of the following is correct way to rewrite the C#.NET code snippet given below?
using Microsoft.VisualBasic;
using System.Windows.Forms;
MessageBox.Show("Wait for a" + ControlChars.CrLf + "miracle");
using System.Windows.Forms;
using CtrlChars = Microsoft.VisualBasic.ControlChars; 
MessageBox.Show("Wait for a" + CrLf + "miracle");
using Microsoft.VisualBasic; 
using System.Windows.Forms; 
CtrlChars = ControlChars;
MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");
using Microsoft.VisualBasic; 
using System.Windows.Forms; 
CtrlChars = ControlChars; 
MessageBox.Show ("Wait for a" + CrLf + "miracle");
using System.Windows.Forms;
using CtrlChars = Microsoft.VisualBasic.ControlChars; 
MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Jay said:   1 decade ago
Can anybody describe that how answer is D?

Post your comments here:

Your comments will be displayed after verification.