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");
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Dec 20, 2011, 5:07 AM
Satyapriya NayakPosted Dec 19, 2011, 11:00 PM
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