C# - Add And Use InputBox In C#

add inputbox to c#

C# - How To Add And Use InputBox In C#

                                                                                                                                                     

In This C# Code We Will See How To Add InputBox And Use It In C# Programming Language





Source Code:

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 inputbox to c#
Add And Use InputBox In C#


Share this

Related Posts

Previous
Next Post »