using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.VisualBasic;
namespace WindowsFormsApplication1
{
public partial class Add_InputBox_To_Csharp : Form
{
public Add_InputBox_To_Csharp()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Interaction.InputBox("Message", "Title", "Default Value", -1, -1);
}
}
}
/////////////////////////////////OUTPUT:
|
Add And Use InputBox In C# |