Your question is a little unclear, but here are two ways to show a message box in a c# console application.
Method 1:
First you need to include this reference.
System.Windows.Forms;
To add the reference:
You need to right click (in solution explorer) on your project name-> then add reference-> then .Net-> then select System.Windows.Forms.
To add reference in c# program right click in your project folders shown in solution explorer on add references-> .Net -> select System.Windows.Forms.
then you can use a MessageBox in your application.
MessageBox.Show("Stackoverflow");
Method 2:
Alternatively you can create a simple MessageBox yourself using some code...
To do this you first need to create a property with the attribute of
using System.Runtime.InteropServices;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
public static extern int MessageBox(IntPtr h, string m, string c, int type);
Then you can use this to call a MessageBox:
MessageBox((IntPtr)0, "Content", "Title", 0);
Answer formed from answers by Syed Osama Maruf and Nikhil Nambiar on this question related to the same problem.