

MCQOPTIONS
Saved Bookmarks
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. | <pre><code class="csharp">using System.Windows.Forms; using CtrlChars = Microsoft.VisualBasic.ControlChars; MessageBox.Show("Wait for a" + CrLf + "miracle");</code></pre> |
B. | <pre><code class="csharp">using Microsoft.VisualBasic; using System.Windows.Forms; CtrlChars = ControlChars; MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");</code></pre> |
C. | <pre><code class="csharp">using Microsoft.VisualBasic; using System.Windows.Forms; CtrlChars = ControlChars; MessageBox.Show ("Wait for a" + CrLf + "miracle");</code></pre> |
D. | <pre><code class="csharp">using System.Windows.Forms; using CtrlChars = Microsoft.VisualBasic.ControlChars; MessageBox.Show("Wait for a" + CtrlChars.CrLf + "miracle");</code></pre> |
Answer» E. | |