How to show a message box in a .net c# or vb console application ? Something like:
Console.WriteLine(\"Hello World\"); MessageBox.Show(\"H
In C# add the reference "PresentationFramework" in the project. Next in the class that you need the MessageBox add
MessageBox
using System.Windows;
also you can call the MessageBox class without the using like that:
System.Windows.MessageBox.Show("Stackoverflow");