InputBox for C#???

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.
 
E

Erik Frey

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
 
J

Jeffrey Tan[MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top