Hi friends,
I want to know that what will be the correct way to rewrite the C#.NET code snippet given below?
using Microsoft.VisualBasic;
using System.Windows.Forms;
MessageBox.Show("Good" + ControlChars.CrLf + "Response");
Rewrite the .NET code
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 19, 2011, 6:00 PM EST
Right click on solution explorer- choose add reference-choose .NET tab-choose Microsoft.visualbasic 8.0.0.0 -then click ok
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.VisualBasic;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
MessageBox.Show("Good" + ControlChars.CrLf + "Response");
}
}
}
Thanks
If this post helps you mark it as answer
VulpesRank #55 · 29.2K reputationPosted Dec 20, 2011, 12:07 AM EST