1.

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");

A. using System.Windows.Forms; using CtrlChars = Microsoft.VisualBasic.ControlChars; MessageBox.Show("Wait for a" + CrLf + "miracle");
B. using Microsoft.VisualBasic; using System.Windows.Forms; CtrlChars = ControlChars; MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");
C. using Microsoft.VisualBasic; using System.Windows.Forms; CtrlChars = ControlChars; MessageBox.Show ("Wait for a" + CrLf + "miracle");
D. using System.Windows.Forms; using CtrlChars = Microsoft.VisualBasic.ControlChars; MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");
Answer» E.


Discussion

No Comment Found

Related MCQs