InputBox for C#???

  • Thread starter Thread starter Bill Todd
  • Start date Start date
B

Bill Todd

Is there an equivalent to the VB InputBox function for C#? I am
looking for something in the FCL that will let me prompt the user for
a single string value.
 
Bill Todd said:
Is there an equivalent to the VB InputBox function for C#? I am
looking for something in the FCL that will let me prompt the user for
a single string value.

Not really. But you can add a reference to 'Microsoft Visual Basic .NET
Runtime' (Microsoft.VisualBasic.dll) and access this function in the
Microsoft.VisualBasic.Interaction namespace.

Or just roll your own.

Erik
 
Hi Bill,

Does Erik's reply makes sense to you? Do you still have any concern?

Please feel free to let me know, I will help you. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top