is there a way to get user input like an inputbox in c#? i would like a window to pop up to ask a user to enter a string
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
C# itself doesn’t have such a feature, assuming you’re using Winforms, but you can steal one from VB.NET’s default libraries (from the
Microsoft.VisualBasicnamespace):See MSDN for more info.
You could also create your own window using WinForms (or WPF) if you need it to do something more specific.