How do I use a message box in C#?
How can I use a message box in C# without 开发者_开发问答a script?
You haven't really specified your target application type, so:
For a Console application:
Console.WriteLine("hello world");
For a WinForms/desktop application:
MessageBox.Show("hello world");
For a web application:
alert('hello world');
or you could also implement custom dialogs with javascript and jquery.
MessageBox.Show()
have you tried googling?
精彩评论